aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-06 17:17:34 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-06 17:17:34 +0000
commit5644d9b9ae5cf5746a5d8bbb4318964fe9def87e (patch)
tree050e6bad41f4b1146a1dc3cbcfd61ba96935f34c
parentupdate (diff)
downloadkaminokumo-5644d9b9ae5cf5746a5d8bbb4318964fe9def87e.tar.gz
kaminokumo-5644d9b9ae5cf5746a5d8bbb4318964fe9def87e.zip
update
-rwxr-xr-xkaminokumo11
1 files changed, 6 insertions, 5 deletions
diff --git a/kaminokumo b/kaminokumo
index ff78c82..5053fb0 100755
--- a/kaminokumo
+++ b/kaminokumo
@@ -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()