aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py15
1 files changed, 12 insertions, 3 deletions
diff --git a/main.py b/main.py
index 6c6e4d8..3a85d8b 100644
--- a/main.py
+++ b/main.py
@@ -1,10 +1,14 @@
import os
import inputs
+import mapsparsing
+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 "\n\nWelcome ! \nWith this script, you will be able to download gpx,trk and kml traces for hitchiking on the Reunion Isle."
+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
loginmail()
logipass()
@@ -15,14 +19,19 @@ if filetype==1:
basicfilename="f.gpx"
elif filetype==2:
basicfilename="f.trk"
-else:
+else filetype==3:
basicfilename="f.kml"
-
+
+mapparsing(filetype,basicfilename)
+
+
payload = {
'mail': MAIL,
'password': PSW
}
+randoweb()
+