From 5cf57205ee51d784d253177d2b477a490472a133 Mon Sep 17 00:00:00 2001 From: ReimarBauer Date: Mon, 9 Dec 2024 15:46:32 +0100 Subject: [PATCH] fallback comparison --- mslib/mscolab/file_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mslib/mscolab/file_manager.py b/mslib/mscolab/file_manager.py index cbef864d2..29106ab76 100644 --- a/mslib/mscolab/file_manager.py +++ b/mslib/mscolab/file_manager.py @@ -467,7 +467,7 @@ def get_all_changes(self, op_id, user, named_version=False): # the default of version_name is None and e.g. adding waypoints stores it as "None" changes = Change.query\ .filter(Change.op_id == op_id)\ - .filter(Change.version_name != "None")\ + .filter(str(Change.version_name) != "None")\ .order_by(Change.created_at.desc())\ .all() # Get all changes