diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-30 15:16:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-30 15:16:43 -0300 |
commit | bd36c692357c85de7058a28abc63ab9abc228a58 (patch) | |
tree | 714b3c539b8180006c4de4e76c5f834ac3f1fe5f /sast/manaplus.rpy-sast.py | |
parent | 0909dac3c032f23bf6335ae00f36f89e1f8408dd (diff) | |
download | renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.gz renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.bz2 renpy-bd36c692357c85de7058a28abc63ab9abc228a58.tar.xz renpy-bd36c692357c85de7058a28abc63ab9abc228a58.zip |
Add sast/ folder so I can test if the fault is the YML or the poor tool I'm using
Diffstat (limited to 'sast/manaplus.rpy-sast.py')
-rw-r--r-- | sast/manaplus.rpy-sast.py | 9 |
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 |