better timeouts and the real url

This commit is contained in:
Florian Streibelt 2011-10-15 06:11:15 +02:00
parent 1818360fc5
commit afa510e090
2 changed files with 4 additions and 3 deletions

View File

@ -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()

View File

@ -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}