aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorLionel <lionel.miquel46@gmail.com>2018-10-17 01:23:59 +0200
committerLionel <lionel.miquel46@gmail.com>2018-10-17 01:23:59 +0200
commit8304477d9979431219830e7928ed11ebc7397189 (patch)
treea2cf6aaede5cb64b0fc7dddfccb5fe918741fe18 /main.py
parent480a2935e0eba6fe2577b10f317f2fdbea55d7ce (diff)
downloadrandopitons-8304477d9979431219830e7928ed11ebc7397189.tar.gz
randopitons-8304477d9979431219830e7928ed11ebc7397189.zip
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
Diffstat (limited to 'main.py')
-rw-r--r--main.py15
1 files changed, 10 insertions, 5 deletions
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)