log login state as debug
This commit is contained in:
parent
77ba501082
commit
86fd6bca18
|
@ -50,10 +50,10 @@ class Lodur:
|
|||
self.browser.open(self.url + '?modul=16')
|
||||
page = self.browser.get_current_page()
|
||||
if page.find(alt='LOGOUT'):
|
||||
self.logger.info('Logged in')
|
||||
self.logger.debug('Logged in')
|
||||
return True
|
||||
else:
|
||||
self.logger.info('Not logged in')
|
||||
self.logger.debug('Not logged in')
|
||||
return False
|
||||
|
||||
def einsatzprotokoll(self, f_id, pdf_data, webdav_client):
|
||||
|
|
|
@ -5,6 +5,7 @@ from pathlib import Path
|
|||
from library.pdf_extract import PDFHandling
|
||||
|
||||
PATH = '/tmp/pylokid'
|
||||
PATH = '/home/tobru/tmp/pylokid/Einsatzausdruck_FW'
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
|
|
Loading…
Reference in New Issue