Skip to content

Commit

Permalink
Update mslib/mscolab/models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Riße <[email protected]>
  • Loading branch information
ReimarBauer and matrss authored Dec 16, 2024
1 parent 0b8e5de commit 126f353
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mslib/mscolab/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,5 +216,7 @@ def __init__(self, op_id, u_id, commit_hash, version_name=None, comment=None):
self.op_id = int(op_id)
self.u_id = int(u_id)
self.commit_hash = str(commit_hash)
self.version_name = version_name
self.comment = comment
if version_name is not None:
self.version_name = str(version_name)
if comment is not None:
self.comment = str(comment)

0 comments on commit 126f353

Please sign in to comment.