Skip to content

Commit

Permalink
Merge pull request #2 from enedil/patch-1
Browse files Browse the repository at this point in the history
`os.pth.isfile` -> `os.path.isfile`
  • Loading branch information
c3r34lk1ll3r authored May 19, 2021
2 parents 4ea4c16 + 0f9a06a commit e475e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binrida/FridaHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self,data,bnFile,spawn,action):
self.path = bn.user_plugin_path()+'/BinRida/binrida/'
if not os.path.isfile(self.path+'m_stalker.js'):
self.path = bn.bundled_plugin_path()+'/BinRida/binrida/'
if not os.pth.isfile(self.path+'m_stalker.js'):
if not os.path.isfile(self.path+'m_stalker.js'):
bn.log.log_error('Javascript code not found!')
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), self.path+'m_stalker.js')
## Rebasing address
Expand Down

0 comments on commit e475e4e

Please sign in to comment.