- pass feed_url into ProcessMedia run()
queued_media_file = Column(PathTupleWithSlashes)
- queued_task_id = Column(Unicode, default=None)
+ queued_task_id = Column(Unicode)
__table_args__ = (
UniqueConstraint('uploader', 'slug'),
"""
track_started=True
- def run(self, media_id):
+ def run(self, media_id, feed_url):
"""
Pass the media entry off to the appropriate processing function
(for now just process_image...)
try:
entry.state = u'processing'
entry.save()
+
_log.debug('Processing {0}'.format(entry))
proc_state = ProcessingState(entry)