From 15b46d19c62ef62c068873554cafdc5b1bc0072a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 13 Jul 2021 20:00:41 +0200 Subject: [PATCH] master of comparison failed --- pylokid/main.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylokid/main.py b/pylokid/main.py index 127e348..31d2583 100644 --- a/pylokid/main.py +++ b/pylokid/main.py @@ -233,7 +233,7 @@ def main(): # Attach scan in Lodur if f_id is available # f_id can be empty when scan was misconfigured - if f_id != None or len(f_id) < 8: + if f_id != None and len(f_id) > 8: lodur_id = webdav_client.get_lodur_data(f_id)["event_id"] # Retrieve Lodur data again and store it in Webdav lodur_data = lodur_client.retrieve_form_data(lodur_id) diff --git a/pyproject.toml b/pyproject.toml index 6b623e1..77d0ce8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pylokid" -version = "3.1.3" +version = "3.1.4" description = "" authors = ["Tobias Brunner "] license = "MIT"