Closed lapr0 closed 6 years ago
Please give clear steps to reproduce. Not sure what "Not using partial() for setting itunes or google_play in cli() while providing a slack_webhook" means
In commands.py this variable:
itunes = tornado.ioloop.PeriodicCallback(partial(app.poll_store, 'ios'), 1000 * settings['beat'], loop)
If I run critics command, nothing will pop but the TypeError 4 args given, 3 wanted mentioned as title. But if I remove partial and modify the code to:
itunes = tornado.ioloop.PeriodicCallback(app.poll_store('ios'), 1000 * settings['beat'], loop)
and run critics --ios=XXX --slack-webhook=MY_SLACK_WEBHOOK
I still get the same error, but reviews are posted to slack.
Current configuration OS: Ubuntu 16.04
When trying to run critics for testing or for live, this error occurs. Not using partial() for setting itunes or google_play in cli() while providing a slack_webhook returns the same error, but reviews (if any) are sent to slack.