Commit 7541c58b authored by Luke Macken's avatar Luke Macken

pep8

parent 48b7ffa1
......@@ -56,7 +56,8 @@ class CodeInjector(object):
# Allow payloads to import modules alongside them
'PyRun_SimpleString("import sys; sys.path.insert(0, \\"%s\\");")' %
os.path.dirname(self.filename),
'PyRun_SimpleString("exec(open(\\"%s\\").read())")' % self.filename,
'PyRun_SimpleString("exec(open(\\"%s\\").read())")' %
self.filename,
'PyGILState_Release($1)',
]
run('%sgdb -p %d -batch %s' % (self.gdb_prefix, self.pid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment