Fixed bug creating the first config.file

This commit is contained in:
clamsawd 2015-11-06 17:41:41 +01:00
parent 4f8dc178cf
commit 363a101026

View File

@ -59,7 +59,8 @@ SmtpFromEmail=input("Type the server STMP of email sender: ")
ToEmail=input("Type the email receiver: ") ToEmail=input("Type the email receiver: ")
#Create 'ip2e-conf.py' #Create 'ip2e-conf.py'
os.remove("ip2e-conf.py") if os.path.isfile("ip2e-conf.py"):
os.remove("ip2e-conf.py")
ip2ecf=open('ip2e-conf.py','w') ip2ecf=open('ip2e-conf.py','w')
ip2ecf.close() ip2ecf.close()
ip2ecf=open('ip2e-conf.py','a') ip2ecf=open('ip2e-conf.py','a')