From 8304477d9979431219830e7928ed11ebc7397189 Mon Sep 17 00:00:00 2001 From: Lionel Date: Wed, 17 Oct 2018 01:23:59 +0200 Subject: salam les amis là c'est la hess je comprendspas pourquoi les downloads partent pas. je crois qu'il va falloir faire du cas par cas, ça fera plus de ligne de code mais pas grave, ça sera plus pratique putain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index fd462be..56f04d6 100644 --- a/main.py +++ b/main.py @@ -15,8 +15,11 @@ for i in range(9): pass import foldercreating as fdc basicfilename="" -randonb=[] -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 + +print clc.bold+"*************************************************************************************************************" +print clc.bold+"* Welcome ! *"+clc.endc +print clc.bold+"* With this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle. *"+clc.endc +print clc.bold+"*************************************************************************************************************" zonechoice=io.regioninput() zoneptr=zonechoice-1 maptype=io.mapfileinput() @@ -33,9 +36,11 @@ elif maptype==3: basicfilename="f.kml" fdc.mainfolder() -fdc.mkfolder(MAIL,PSW,webregionnames,foldernames,maptype,zoneptr,basicfilename) +if zonechoice == 10: + fdc.mkallfolder(MAIL,PSW,webregionnames,foldernames,maptype,basicfilename) +else: + fdc.mkfolder(MAIL,PSW,webregionnames,foldernames,maptype,zoneptr,basicfilename) + -if zonechoice == 10: - fdc.mkallfolder(MAIL,PSW,webregionnames,foldernames,maptype,zoneptr,basicfilename) -- cgit v1.2.3-70-g09d2