Skip to content
Snippets Groups Projects
Unverified Commit 562d50c9 authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Use os.path.expanduser()

parent 0df6be72
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ class AllTools(HackingToolsCollection):
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment