Commit affa3759 authored by Francesco Poldi's avatar Francesco Poldi

Added default value for user_rt_id

parent c90ec0ce
......@@ -94,6 +94,8 @@ def Tweet(tw, config):
t.retweet = getRetweet(config.Profile, t.username, config.Username)
if t.retweet:
t.user_rt_id = config.User_id
else:
t.user_rt_id = 0
t.quote_url = getQuoteURL(tw)
t.near = config.Near if config.Near else ""
t.geo = config.Geo if config.Geo else ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment