Browse Source

better timeouts and the real url

Florian Streibelt 9 years ago
parent
commit
afa510e090
2 changed files with 4 additions and 3 deletions
  1. 3
    3
      client-barcode/freitagskasse.py
  2. 1
    0
      client-barcode/freitagslib/network.py

+ 3
- 3
client-barcode/freitagskasse.py View File

@@ -46,9 +46,9 @@ offset_line2 = 0
46 46
 brightness  = 5
47 47
 screensaver = 0
48 48
 
49
-SCREENSAVER_DIM     = 30
50
-SCREENSAVER_TIMEOUT = 90
51
-SCREENSAVER_OFF     = 300
49
+SCREENSAVER_DIM     = 2* 20
50
+SCREENSAVER_TIMEOUT = 2* 120
51
+SCREENSAVER_OFF     = 2* 10*60
52 52
 
53 53
 lock = allocate_lock()
54 54
 

+ 1
- 0
client-barcode/freitagslib/network.py View File

@@ -24,6 +24,7 @@ DEPOSIT_BANK = 2
24 24
 
25 25
 
26 26
 _BASE_URL = 'http://devcat.someserver.de:13805/api2/'
27
+_BASE_URL = 'https://k4ever.freitagsrunde.org:443/api2/'
27 28
 
28 29
 _auth = base64.encodestring('%s:%s' % (os.environ['BARCODE_PLUGIN_USER'], os.environ['BARCODE_PLUGIN_PASS'])).rstrip()
29 30
 _headers = {'Authorization':'Basic %s' % _auth}

Loading…
Cancel
Save