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