diff options
author | Tony Anderson <tony@traveler.(none)> | 2010-12-21 08:58:07 (GMT) |
---|---|---|
committer | Tony Anderson <tony@traveler.(none)> | 2010-12-21 08:58:07 (GMT) |
commit | 444cf1337afa524fed7d84190a2e609972ba6d2f (patch) | |
tree | 4de0159e841ed350e18730c3d99f2153615c4900 | |
parent | b847d32e5b31eb380c21297940573cc292121c64 (diff) |
version 9
-rwxr-xr-x | activity/activity.info | 2 | ||||
-rwxr-xr-x | cgi-bin/saveFile.py | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/activity/activity.info b/activity/activity.info index d9ef230..00254f2 100755 --- a/activity/activity.info +++ b/activity/activity.info @@ -2,7 +2,7 @@ name = Learn service_name = org.olerwanda.Learn icon = activity-learn -activity_version = 8 +activity_version = 9 show_launcher = yes #exec = ./launch.py class = launch.Learn diff --git a/cgi-bin/saveFile.py b/cgi-bin/saveFile.py index 7e43e86..4980c92 100755 --- a/cgi-bin/saveFile.py +++ b/cgi-bin/saveFile.py @@ -149,12 +149,13 @@ for screen in screens: quiztxtout = quiztxtout + 'var quiz' + str(nscreen) + ' ={\n' + quiztxt + '}\n' else: quiztxtout = quiztxtout + 'var quiz = [\n' + quiztxt + ']\n' - quiztxtout = quiztxtout + 'var options = {\n' - + ' random:false,\n' - + ' allRandom:false,\n' - + ' disableRestart:true, disableDelete:true,\n' - + ' title: "Opportunity",\n' - + '}\n' + opt = 'var options = {\n' + opt = opt + ' random:false,\n' + opt = opt + ' allRandom:false,\n' + opt = opt + ' disableRestart:true,\n' + opt = opt + ' disableDelete:true,\n' + opt = opt + ' title: "Opportunity",}\n' + quiztxtout = quiztxtout + opt if nscreen > 0: apth = fpth / 'a' + str(nscreen) + '.txt' nscreen += 1 |