Bump up version number to 1.1
This commit is contained in:
parent
ea17a72a83
commit
4f8dc178cf
|
@ -9,7 +9,7 @@
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
version="1.0"
|
version="1.1"
|
||||||
|
|
||||||
#Import python-modules
|
#Import python-modules
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
version="1.0"
|
version="1.1"
|
||||||
|
|
||||||
#Import python-modules
|
#Import python-modules
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -201,15 +201,11 @@ while PublicIP <= 2:
|
||||||
editlog.write("[ip2e-daemon] ["+CurrentTime+"] Retrying in 10 seconds...\n")
|
editlog.write("[ip2e-daemon] ["+CurrentTime+"] Retrying in 10 seconds...\n")
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
os.remove("current-ip.py")
|
os.remove("current-ip.py")
|
||||||
def createNewip2eIPcf():
|
ip2eIPcf=open('current-ip.py','w')
|
||||||
ip2eIPcf=open('current-ip.py','w')
|
ip2eIPcf.close()
|
||||||
ip2eIPcf.close()
|
ip2eIPcf=open('current-ip.py','a')
|
||||||
def writeNewip2eIPcf():
|
ip2eIPcf.write('CurrentIP="'+NewIP+'"\n')
|
||||||
ip2eIPcf=open('current-ip.py','a')
|
ip2eIPcf.close()
|
||||||
ip2eIPcf.write('CurrentIP="'+NewIP+'"\n')
|
|
||||||
ip2eIPcf.close()
|
|
||||||
createNewip2eIPcf()
|
|
||||||
writeNewip2eIPcf()
|
|
||||||
CurrentTime = time.strftime("%H:%M")
|
CurrentTime = time.strftime("%H:%M")
|
||||||
GreenColor()
|
GreenColor()
|
||||||
print ("[ip2e-daemon] ["+CurrentTime+"] Next update in 10 minutes...")
|
print ("[ip2e-daemon] ["+CurrentTime+"] Next update in 10 minutes...")
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
version="1.0"
|
version="1.1"
|
||||||
|
|
||||||
#Import python-modules
|
#Import python-modules
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in New Issue
Block a user