mirror of https://github.com/zulip/zulip.git
Use 'Python API' as the API client string
(imported from commit 5c1f8a9c089aaed1c82729f81819b8373d796c2a)
This commit is contained in:
parent
bfb741c9bb
commit
a59d5b9ce6
|
@ -69,7 +69,7 @@ def init_from_options(options):
|
|||
class Client(object):
|
||||
def __init__(self, email=None, api_key=None, config_file=None,
|
||||
verbose=False, retry_on_errors=True,
|
||||
site=None, client="API"):
|
||||
site=None, client="Python API"):
|
||||
if None in (api_key, email):
|
||||
if config_file is None:
|
||||
config_file = os.path.join(os.environ["HOME"], ".humbugrc")
|
||||
|
|
Loading…
Reference in New Issue