Fix user() method

This commit is contained in:
Klaus-Uwe Mitterer 2017-03-24 22:46:43 +01:00
parent 3537379e99
commit ed5e19af0c

View file

@ -360,7 +360,7 @@ def user(bot, update, args):
try:
two = bottools.methods.getTwo(update.message)
for status in two.api.user_timeline(args[0], count = args[1]):
for status in two.api.user_timeline(args[0], count = count):
tweetMessage(status, update.message.chat_id, bot)
except tweepy.error.TweepError as e: