Skip to content

Commit

Permalink
Python 3: print statement -> print function in SAPI5 hook debug messa…
Browse files Browse the repository at this point in the history
…ges. Re nvaccess#7105.
  • Loading branch information
josephsl committed May 25, 2019
1 parent 13bb616 commit eaa7834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/synthDrivers/sapi5.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class FunctionHooker(object):
def __init__(self,targetDll,importDll,funcName,newFunction):
hook=NVDAHelper.localLib.dllImportTableHooks_hookSingle(targetDll,importDll,funcName,newFunction)
if hook:
print "hooked %s"%funcName
print("hooked %s"%funcName)
else:
print "could not hook %s"%funcName
print("could not hook %s"%funcName)
raise RuntimeError("could not hook %s"%funcName)

def __del__(self):
Expand Down

0 comments on commit eaa7834

Please sign in to comment.