Update to Django 1.11 and Celery 4.2.
[audio.git] / src / archive / tasks.py
index a46b79c..be0eb1a 100644 (file)
@@ -96,7 +96,7 @@ class AudioFormatTask(Task):
             else:
                 api.run(command)
             disconnect_all()
-        except SystemExit, e:
+        except SystemExit as e:
             raise cls.RemoteOperationError
 
     def run(self, aid, publish=True):