Better indent source code
This commit is contained in:
parent
0e44d9be46
commit
092a5799ca
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# ip2e (IP to email) - Create the configuration file. |
|
# ip2e (IP to email) - Create the configuration file. |
|
||||||
# Created by q3aql (q3aql@openmailbox.org) |
|
# Created by q3aql (q3aql@protonmail.ch) |
|
||||||
# Licensed by GPL v.3 |
|
# Licensed by GPL v.3 |
|
||||||
# Last update: 01-03-2016 |
|
# Last update: 03-04-2021 |
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
|
@ -18,7 +18,7 @@ import sys
|
||||||
#Check if your system use Python 3.x
|
#Check if your system use Python 3.x
|
||||||
if sys.version_info<(3,0):
|
if sys.version_info<(3,0):
|
||||||
print ("")
|
print ("")
|
||||||
print ("You need python 3.x to run this program.")
|
print ("* You need python 3.x to run this program.")
|
||||||
print ("")
|
print ("")
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ def ClearScreen():
|
||||||
elif os.name == "nt":
|
elif os.name == "nt":
|
||||||
os.system("cls")
|
os.system("cls")
|
||||||
else:
|
else:
|
||||||
print ("Error: Unable clear screen")
|
print ("* Error: Unable clear screen")
|
||||||
|
|
||||||
#Detect system & PATH of user folder
|
#Detect system & PATH of user folder
|
||||||
if os.path.exists("/storage/sdcard0"):
|
if os.path.exists("/storage/sdcard0"):
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# ip2e (IP to email) - Run ip2e daemon. |
|
# ip2e (IP to email) - Run ip2e daemon. |
|
||||||
# Created by q3aql (q3aql@openmailbox.org) |
|
# Created by q3aql (q3aql@protonmail.ch) |
|
||||||
# Licensed by GPL v.3 |
|
# Licensed by GPL v.3 |
|
||||||
# Last update: 01-03-2016 |
|
# Last update: 03-04-2021 |
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
# ip2e (IP to email) - See the log file. |
|
# ip2e (IP to email) - See the log file. |
|
||||||
# Created by q3aql (q3aql@openmailbox.org) |
|
# Created by q3aql (q3aql@protonmail.ch) |
|
||||||
# Licensed by GPL v.3 |
|
# Licensed by GPL v.3 |
|
||||||
# Last update: 01-03-2016 |
|
# Last update: 03-04-2021 |
|
||||||
# |
|
# |
|
||||||
# Compatible with Python 3.x |
|
# Compatible with Python 3.x |
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
|
@ -31,7 +31,7 @@ def ClearScreen():
|
||||||
elif os.name == "nt":
|
elif os.name == "nt":
|
||||||
os.system("cls")
|
os.system("cls")
|
||||||
else:
|
else:
|
||||||
print ("Error: Unable clear screen")
|
print ("* Error: Unable clear screen")
|
||||||
|
|
||||||
#Detect system & PATH of user folder
|
#Detect system & PATH of user folder
|
||||||
if os.path.exists("/storage/sdcard0"):
|
if os.path.exists("/storage/sdcard0"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user