~foosoft/anki-connect

c64e78addf7a276df2a8154554bbc914afe3037e — Alex Yatskov 5 years ago 975c069
cleanup
1 files changed, 8 insertions(+), 8 deletions(-)

M plugin/util.py
M plugin/util.py => plugin/util.py +8 -8
@@ 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:

Do not follow this link