Fixing normal submission of media (well for images anyway)

This commit is contained in:
Christopher Allan Webber 2013-08-12 11:00:15 -05:00 committed by Rodney Ewing
parent 5b546d6533
commit 98d1fa3bed
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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.