aboutsummaryrefslogtreecommitdiff
path: root/inputs.py
diff options
context:
space:
mode:
authorLionel <lionel.miquel46@gmail.com>2018-10-16 16:54:47 +0200
committerLionel <lionel.miquel46@gmail.com>2018-10-16 16:54:47 +0200
commit32aa9e84ee635b37f4cff37112e3e62837c914f4 (patch)
treefb99a3a2d13604fb0fdbae6b5eb80c6412655a25 /inputs.py
parent6bf912ba61aee249c344ebbd160df0280748fa9e (diff)
downloadrandopitons-32aa9e84ee635b37f4cff37112e3e62837c914f4.tar.gz
randopitons-32aa9e84ee635b37f4cff37112e3e62837c914f4.zip
YOUPI on a bien mis de l'ordre dans foldercreating.py. On est presque au bout. Certains diront que ce code n'est pas assez modulable et tourné vers l'OOP mais je m'en fous pour l'instant.
Diffstat (limited to 'inputs.py')
-rw-r--r--inputs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/inputs.py b/inputs.py
index df067d2..cc00de3 100644
--- a/inputs.py
+++ b/inputs.py
@@ -16,7 +16,6 @@ def mapfileinput():
except (KeyboardInterrupt, SystemExit):
print e.sigkill
exit()
-
return maptype
@@ -42,7 +41,7 @@ def regioninput():
print e.sigkill
exit()
except SyntaxError:
- print("\nDefaulting to All. If this isn't what you wanted, you can always interrupt the script by pressing "+BOLD+"CTRL+C"+ENDC)
+ print("\nDefaulting to All. If this isn't what you wanted, you can always interrupt the script by pressing "+clc.bold+"CTRL+C"+clc.endc)
zone = 10;
except NameError:
print "\nPlease enter a number between 1 and 10."