1
0
mirror of https://github.com/Z4nzu/hackingtool.git synced 2025-06-20 06:15:54 +02:00

Syntax Fix for older versions of python

This commit is contained in:
furknozg
2022-09-15 13:15:25 +03:00
parent f9d8732d89
commit 21394cda9f

4
hackingtool.py Normal file → Executable file
View File

@ -89,12 +89,12 @@ if __name__ == "__main__":
inpath = input("Enter Path (with Directory Name) >> ") inpath = input("Enter Path (with Directory Name) >> ")
with open(fpath, "w") as f: with open(fpath, "w") as f:
f.write(inpath) f.write(inpath)
print(f"Successfully Set Path to: {inpath}") print("Successfully Set Path to: {}".format(inpath))
elif choice == "2": elif choice == "2":
autopath = "/home/hackingtool/" autopath = "/home/hackingtool/"
with open(fpath, "w") as f: with open(fpath, "w") as f:
f.write(autopath) f.write(autopath)
print(f"Your Default Path Is: {autopath}") print("Your Default Path Is: {}".format(autopath))
sleep(3) sleep(3)
else: else:
print("Try Again..!!") print("Try Again..!!")