From 98d1fa3beddfc602c541fe7f538ca882ad6c7e9c Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 12 Aug 2013 11:00:15 -0500 Subject: [PATCH] Fixing normal submission of media (well for images anyway) --- mediagoblin/processing/__init__.py | 2 ++ mediagoblin/submit/lib.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mediagoblin/processing/__init__.py b/mediagoblin/processing/__init__.py index 9493091b..684ffe04 100644 --- a/mediagoblin/processing/__init__.py +++ b/mediagoblin/processing/__init__.py @@ -223,6 +223,8 @@ class ProcessingManager(object): try: processor = self.processors[key] except KeyError: + import pdb + pdb.set_trace() raise ProcessorDoesNotExist( "'%s' processor does not exist for this media type" % key) diff --git a/mediagoblin/submit/lib.py b/mediagoblin/submit/lib.py index ad37203d..1a45e447 100644 --- a/mediagoblin/submit/lib.py +++ b/mediagoblin/submit/lib.py @@ -77,7 +77,7 @@ def prepare_queue_task(app, entry, filename): def run_process_media(entry, feed_url=None, - reprocess_action="inital", reprocess_info=None): + reprocess_action="initial", reprocess_info=None): """Process the media asynchronously :param entry: MediaEntry() instance to be processed. -- 2.25.1