diff --git a/install.py b/install.py index e697d8f..7b52cc8 100644 --- a/install.py +++ b/install.py @@ -1,7 +1,7 @@ import os -choice = input('[+] to install press (Y) to uninstall press (N) >> ') +choice = str(input('[+] to install press (Y) to uninstall press (N) >> ')) run = os.system -if str(choice) =='Y' or str(choice)=='y': +if choice.lower() == 'y': run('chmod 777 autoTOR.py') run('mkdir /usr/share/aut') @@ -12,7 +12,7 @@ file.write(cmnd) run('chmod +x /usr/bin/aut & chmod +x /usr/share/aut/autoTOR.py') print('''\n\ncongratulation auto Tor Ip Changer is installed successfully \nfrom now just type \x1b[6;30;42maut\x1b[0m in terminal ''') -if str(choice)=='N' or str(choice)=='n': +if choice.lower() == 'n': run('rm -r /usr/share/aut ') run('rm /usr/bin/aut ') print('[!] now Auto Tor Ip changer has been removed successfully')