Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason committed Apr 4, 2024
1 parent 339d1e4 commit 8dfa35b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def __init__(self, config={}):
self.allow_observance_flag = ALLOW_OBSERVANCE

self.id = config.get("id", str(uuid.uuid4()))
if config.get("mid"): #rails sets id, this will all be cleaned up
self.id = config.get("mid")
if self.id == None:
self.id = str(uuid.uuid4())
print(f"matrix id is {self.id}")
Expand Down

0 comments on commit 8dfa35b

Please sign in to comment.