Skip to content

Commit

Permalink
Update weibo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gothack329 authored Feb 17, 2017
1 parent cc5c26d commit 33aa504
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions weibo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down

0 comments on commit 33aa504

Please sign in to comment.