From 9a2c66ca9ef763fa68dc09a483c02fe2ee02d78f Mon Sep 17 00:00:00 2001 From: Rodney Ewing Date: Fri, 2 Aug 2013 11:40:41 -0700 Subject: added image reprocessing --- mediagoblin/gmg_commands/reprocess.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mediagoblin/gmg_commands') diff --git a/mediagoblin/gmg_commands/reprocess.py b/mediagoblin/gmg_commands/reprocess.py index 0390c48d..f6b9e653 100644 --- a/mediagoblin/gmg_commands/reprocess.py +++ b/mediagoblin/gmg_commands/reprocess.py @@ -13,6 +13,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from mediagoblin import mg_globals from mediagoblin.db.models import MediaEntry from mediagoblin.gmg_commands import util as commands_util from mediagoblin.tools.translate import lazy_pass_to_ugettext as _ @@ -143,6 +144,8 @@ def reprocess(args): _set_media_state(args) _set_media_type(args) + import ipdb + ipdb.set_trace() if not args[0].media_id: return _reprocess_all(args) -- cgit v1.2.3