diff options
author | bloodstalker <thabogre@gmail.com> | 2018-08-06 17:17:34 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-08-06 17:17:34 +0000 |
commit | 5644d9b9ae5cf5746a5d8bbb4318964fe9def87e (patch) | |
tree | 050e6bad41f4b1146a1dc3cbcfd61ba96935f34c | |
parent | update (diff) | |
download | kaminokumo-5644d9b9ae5cf5746a5d8bbb4318964fe9def87e.tar.gz kaminokumo-5644d9b9ae5cf5746a5d8bbb4318964fe9def87e.zip |
update
-rwxr-xr-x | kaminokumo | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -48,14 +48,15 @@ def premain(argparser): signal.signal(signal.SIGINT, SigHandler_SIGINT) url = json.load(open("/home/bloodstalker/extra/kaminokumo/data.json")) if mrg(url["1"]): - print("mg") + print("mg", end="") vocalize(os.path.expanduser("~") + "/scripts/mila/mgup.ogg") if mrg(url["2"]): - print ("obk") - vocalize(os.path.expanduser("~") + "/scripts/mila/obk.ogg") + print ("obk", end="") + vocalize(os.path.expanduser("~") + "/scripts/mila/obkup.ogg") if mrg(url["3"]): - print ("mlv") - vocalize(os.path.expanduser("~") + "/scripts/mila/obk.ogg") + print ("ddd") + if mrg(url["4"]): + print ("red") def main(): argparser = Argparser() |