integrations/rss: Pass config_file to zulip.Client.

Fixes #499.
This commit is contained in:
Eeshan Garg 2019-01-22 22:14:28 -03:30
parent 5b7f0c24bb
commit f2eaf80b9e

View file

@ -200,6 +200,7 @@ except IOError:
log_error_and_exit("Unable to read feed file at %s." % (opts.feed_file,)) log_error_and_exit("Unable to read feed file at %s." % (opts.feed_file,))
client = zulip.Client(email=opts.zulip_email, api_key=opts.zulip_api_key, client = zulip.Client(email=opts.zulip_email, api_key=opts.zulip_api_key,
config_file=opts.zulip_config_file,
site=opts.zulip_site, client="ZulipRSS/" + VERSION) # type: zulip.Client site=opts.zulip_site, client="ZulipRSS/" + VERSION) # type: zulip.Client
first_message = True # type: bool first_message = True # type: bool