mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Use 'Python API' as the API client string
(imported from commit 5c1f8a9c089aaed1c82729f81819b8373d796c2a)
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user