Do not hardcode the home directory

This commit is contained in:
Christian Clauss 2023-07-18 12:17:27 +02:00 committed by GitHub
parent c9deb216fd
commit 0df6be72bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ class AllTools(HackingToolsCollection):
if __name__ == "__main__":
try:
if system() == 'Linux':
fpath = "/home/hackingtoolpath.txt"
fpath = "~/hackingtoolpath.txt"
if not os.path.exists(fpath):
os.system('clear')
# run.menu()