Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fopina committed Jul 29, 2015
1 parent de17a4c commit ef3ea2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgbot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main():
except Exception as e:
parser.error(e.message)

tg = TGBot(args.token, polling_time=args.polling, plugins=plugins, no_command=nocmd, db_url=args.db_url)
tg = TGBot(args.token, plugins=plugins, no_command=nocmd, db_url=args.db_url)

if args.list:
tg.print_commands()
Expand All @@ -61,7 +61,7 @@ def main():
parser.error('--token is required')

if args.webhook is None:
tg.run()
tg.run(polling_time=args.polling)
else:
tg.run_web(args.webhook[0], host='0.0.0.0', port=int(args.webhook[1]))

Expand Down

0 comments on commit ef3ea2f

Please sign in to comment.