mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +00:00
Merge pull request #290 from furknozg/SyntaxFix
Syntax Fix for older versions of python
This commit is contained in:
commit
8af26be04f
4
hackingtool.py
Normal file → Executable file
4
hackingtool.py
Normal file → Executable 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..!!")
|
||||||
|
Loading…
Reference in New Issue
Block a user