aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
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)