aboutsummaryrefslogtreecommitdiff
path: root/main.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 /main.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 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 3a85d8b..6cabb96 100644
--- a/main.py
+++ b/main.py
@@ -5,7 +5,6 @@ import colorcode as clc
import foldercreating as fdc
foldernames=["Cirque de Cilaos","Cirque de Mafate","Cirque de Salazie","Est","Nord","Ouest","Sud","Volcan","Ailleurs","All"]
-totalfolders=foldernames
randonb=[]
basicfilename=""
print clc.bold+"\n\nWelcome ! \nWith this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle."+clc.endc
@@ -14,6 +13,7 @@ loginmail()
logipass()
filetype=mapfileinput()
+zonechoice=regioninput()
if filetype==1:
basicfilename="f.gpx"
@@ -23,7 +23,7 @@ else filetype==3:
basicfilename="f.kml"
mapparsing(filetype,basicfilename)
-
+mkfolder(filetype,zonechoice)
payload = {
'mail': MAIL,