aboutsummaryrefslogtreecommitdiff
path: root/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'init.py')
-rw-r--r--init.py21
1 files changed, 17 insertions, 4 deletions
diff --git a/init.py b/init.py
index 2ea3548..1668f69 100644
--- a/init.py
+++ b/init.py
@@ -1,15 +1,28 @@
import os
-from choices import mapfileinput
+import inputs
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."
-
+loginmail()
+logipass()
+filetype=mapfileinput()
+if filetype==1:
+ basicfilename="f.gpx"
+else if filetype==2:
+ basicfilename="f.trk"
+else:
+ basicfilename="f.kml"
+
+payload = {
+ 'mail': MAIL,
+ 'password': PSW
+}
-mapfileinput()