commit 85556a31cc5671cf377eae92a2f61db2c953b686
parent eb53e063a53bea0175e048279a21b4ce75f8fbef
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 11 Nov 2016 20:20:00 +0100
Fix Vars
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/intel_screenbot/__init__.py b/intel_screenbot/__init__.py
@@ -34,8 +34,8 @@ def _screencap(url, filename, SACSID, CSRF, search, bot, event):
except Exception as e:
logger.debug("Exception: {}".format(e))
process.kill()
- yield from proc.wait()
- exitcode = yield from proc.wait()
+ yield from process.wait()
+ exitcode = yield from process.wait()
loop = asyncio.get_event_loop()
yield from asyncio.sleep(10)
# read the resulting file into a byte array