advancedav: Fix Future context manager

master
Taeyeon Mori 7 years ago
parent 721b45b9ff
commit 999210eaa2
  1. 2
      lib/python/advancedav.py

@ -116,7 +116,7 @@ class Future:
def __enter__(self): def __enter__(self):
return self.complete return self.complete
def __exit__(self, exc): def __exit__(self, tp, exc, tb):
if not self.finished: if not self.finished:
if exc: if exc:
self.fail(exc) self.fail(exc)

Loading…
Cancel
Save