Skip to content

Commit

Permalink
undo str comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer committed Jan 10, 2025
1 parent 4466324 commit 0f66ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/mscolab/file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(str(Change.version_name) != "None")\
.filter(~Change.version_name.is_(None))\
.order_by(Change.created_at.desc())\
.all()
# Get all changes
Expand Down

0 comments on commit 0f66ad6

Please sign in to comment.