Migrate to central appointment database #45

Merged
christian merged 34 commits from sync-calendar into develop 2025-01-20 13:11:20 +00:00
Showing only changes of commit 2614357a12 - Show all commits

View File

@ -49,13 +49,14 @@ def run(args):
l.info('Login successful')
class LoginData:
def __init__(self, loginName, appPassword):
def __init__(self, loginName, appPassword, base):
self.loginName = loginName
self.appPassword = appPassword
self.base = base
def loadLoginData():
with open('login.json', 'r') as f:
data = json.load(f)
return LoginData(data['loginName'], data['appPassword'])
return LoginData(data['loginName'], data['appPassword'], data['base'])