mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Fixed get_env_variables function
This commit is contained in:
@@ -91,7 +91,7 @@ def load_file(path_to_file):
|
||||
def get_env_variables():
|
||||
env_variables = {
|
||||
'host': environ.get('host'),
|
||||
'port': int(environ.get('port')) or None,
|
||||
'port': int(environ.get('port')) if environ.get('port') else None,
|
||||
'accessToken': environ.get('accessToken'),
|
||||
'caCert': environ.get('caCert'),
|
||||
'privateKey': environ.get('privateKey'),
|
||||
|
||||
Reference in New Issue
Block a user