From 32aa9e84ee635b37f4cff37112e3e62837c914f4 Mon Sep 17 00:00:00 2001 From: Lionel Date: Tue, 16 Oct 2018 16:54:47 +0200 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.py') 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, -- cgit v1.2.3-70-g09d2