better timeouts and the real url
This commit is contained in:
parent
1818360fc5
commit
afa510e090
|
@ -46,9 +46,9 @@ offset_line2 = 0
|
|||
brightness = 5
|
||||
screensaver = 0
|
||||
|
||||
SCREENSAVER_DIM = 30
|
||||
SCREENSAVER_TIMEOUT = 90
|
||||
SCREENSAVER_OFF = 300
|
||||
SCREENSAVER_DIM = 2* 20
|
||||
SCREENSAVER_TIMEOUT = 2* 120
|
||||
SCREENSAVER_OFF = 2* 10*60
|
||||
|
||||
lock = allocate_lock()
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ DEPOSIT_BANK = 2
|
|||
|
||||
|
||||
_BASE_URL = 'http://devcat.someserver.de:13805/api2/'
|
||||
_BASE_URL = 'https://k4ever.freitagsrunde.org:443/api2/'
|
||||
|
||||
_auth = base64.encodestring('%s:%s' % (os.environ['BARCODE_PLUGIN_USER'], os.environ['BARCODE_PLUGIN_PASS'])).rstrip()
|
||||
_headers = {'Authorization':'Basic %s' % _auth}
|
||||
|
|
Loading…
Reference in New Issue