From 33aa504111c56fda8f5579fdcda2629c1abe9262 Mon Sep 17 00:00:00 2001 From: SiRius Date: Fri, 17 Feb 2017 15:45:07 +0800 Subject: [PATCH] Update weibo.py --- weibo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weibo.py b/weibo.py index 710def5..68bb821 100644 --- a/weibo.py +++ b/weibo.py @@ -48,12 +48,14 @@ def weibo(uid): instapush(username,time,content) cx.commit() + return def instapush(username,time,content): app = App(appid='appid',secret='app secret') app.notify(event_name='Weibo',trackers={"username":username,"time":time,"weibo":content}) + return