From c64e78addf7a276df2a8154554bbc914afe3037e Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 5 Mar 2020 19:33:27 -0800 Subject: [PATCH] cleanup --- plugin/util.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugin/util.py b/plugin/util.py index c64567a..278271b 100644 --- a/plugin/util.py +++ b/plugin/util.py @@ -46,16 +46,16 @@ def api(*versions): def setting(key): defaults = { - 'apiKey': None, - 'apiLogPath': None, + 'apiKey': None, + 'apiLogPath': None, 'apiPollInterval': 25, - 'apiVersion': 6, - 'webBacklog': 5, - 'webBindAddress': os.getenv('ANKICONNECT_BIND_ADDRESS', '127.0.0.1'), - 'webBindPort': 8765, - 'webCorsOrigin': os.getenv('ANKICONNECT_CORS_ORIGIN', 'http://localhost'), + 'apiVersion': 6, + 'webBacklog': 5, + 'webBindAddress': os.getenv('ANKICONNECT_BIND_ADDRESS', '127.0.0.1'), + 'webBindPort': 8765, + 'webCorsOrigin': os.getenv('ANKICONNECT_CORS_ORIGIN', 'http://localhost'), 'webCorsOriginList': ['http://localhost'], - 'webTimeout': 10000, + 'webTimeout': 10000, } try: