MediaManager: Use .foo instead of ['foo'].

To make .media_fetch_order work, create a property.
This commit is contained in:
Elrond
2013-03-08 20:51:32 +01:00
parent 2077d6ed93
commit e8676fa383
3 changed files with 7 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ class ProcessMedia(task.Task):
with mgg.workbench_manager.create() as workbench:
proc_state.set_workbench(workbench)
# run the processing code
entry.media_manager['processor'](proc_state)
entry.media_manager.processor(proc_state)
# We set the state to processed and save the entry here so there's
# no need to save at the end of the processing stage, probably ;)