You've already forked hackingtool
mirror of
https://github.com/Z4nzu/hackingtool.git
synced 2025-06-20 06:15:54 +02:00
Use os.path.expanduser()
This commit is contained in:
@ -74,7 +74,7 @@ class AllTools(HackingToolsCollection):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
if system() == 'Linux':
|
if system() == 'Linux':
|
||||||
fpath = "~/hackingtoolpath.txt"
|
fpath = os.path.expanduser("~/hackingtoolpath.txt")
|
||||||
if not os.path.exists(fpath):
|
if not os.path.exists(fpath):
|
||||||
os.system('clear')
|
os.system('clear')
|
||||||
# run.menu()
|
# run.menu()
|
||||||
|
Reference in New Issue
Block a user