|
@@ -45,7 +45,7 @@ def compose(txt,lang,avatar):
|
|
|
os.remove(dir_sound+name_hash+".mp3")
|
|
|
os.remove(dir_anchor+name_hash+".mp4")
|
|
|
notify_choozmo('sound at www.choozmo.com:8168/tools/'+name_hash+'.mp3')
|
|
|
- notify_choozmo('avatar at www.choozmo.com:8168/tools.'+name_hash+'.mp4')
|
|
|
+ notify_choozmo('avatar at www.choozmo.com:8168/tools/'+name_hash+'.mp4')
|
|
|
|
|
|
def makeMP3(name_hash,txt,lang):
|
|
|
if lang==0:
|
|
@@ -104,4 +104,4 @@ def notify_choozmo(msg):
|
|
|
glist = ['WekCRfnAirSiSxALiD6gcm0B56EejsoK89zFbIaiZQD']
|
|
|
for gid in glist:
|
|
|
headers = {"Authorization": "Bearer " + gid,"Content-Type": "application/x-www-form-urlencoded"}
|
|
|
- r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params={"message": msg})
|
|
|
+ r = requests.post("https://notify-api.line.me/api/notify",headers=headers, params={"message": msg})
|