diff --git a/demos/twitter-bot b/demos/twitter-bot index aab020d..0385de8 100755 --- a/demos/twitter-bot +++ b/demos/twitter-bot @@ -102,7 +102,7 @@ except ConfigParser.NoOptionError: user_id = options.twitter_id client = zulip.Client( - email=options.user, + email=options.email, api_key=options.api_key, site=options.site, verbose=True) diff --git a/demos/twitter-search-bot b/demos/twitter-search-bot index c8f81c7..ea3ca1e 100755 --- a/demos/twitter-search-bot +++ b/demos/twitter-search-bot @@ -119,7 +119,7 @@ Please double-check and try again." sys.exit() client = zulip.Client( - email=opts.user, + email=opts.email, api_key=opts.api_key, site=opts.site, verbose=True)