summaryrefslogtreecommitdiff
path: root/sast/manaplus.rpy-sast.py
diff options
context:
space:
mode:
Diffstat (limited to 'sast/manaplus.rpy-sast.py')
-rw-r--r--sast/manaplus.rpy-sast.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/sast/manaplus.rpy-sast.py b/sast/manaplus.rpy-sast.py
new file mode 100644
index 0000000..082c031
--- /dev/null
+++ b/sast/manaplus.rpy-sast.py
@@ -0,0 +1,9 @@
+if True:
+ #############################################################################
+ def download_manaplus(fname):
+ installdir=get_path("manaplus")
+ status_update("Downloading %s on RAM..." % fname, 62)
+ r=requests.get(persistent.host+"/%s" % fname, timeout=60.0)
+ if (r.status_code != 200):
+ status_update("Failure retrieving M+: ERROR %d" % r.status_code)
+ return False