Skip to content

Commit

Permalink
Use os.path.expanduser()
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jul 18, 2023
1 parent 0df6be7 commit 562d50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hackingtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def show_info(self):
if __name__ == "__main__":
try:
if system() == 'Linux':
fpath = "~/hackingtoolpath.txt"
fpath = os.path.expanduser("~/hackingtoolpath.txt")
if not os.path.exists(fpath):
os.system('clear')
# run.menu()
Expand Down

0 comments on commit 562d50c

Please sign in to comment.