🐛 fix bug in regex expression for priority tokens

This commit is contained in:
Marc Koch 2025-08-19 14:41:20 +02:00
parent 4752e9d555
commit bab3ef6ec0
Signed by: marc
GPG Key ID: 12406554CFB028B9
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ class DavEvent:
uid = self.uid uid = self.uid
# Check if there is a token in the event description # Check if there is a token in the event description
token_pattern = r"\#[A-Z1-9]{12}\#" token_pattern = r"\#[A-Z0-9]{12}\#"
match = re.search(token_pattern, description) match = re.search(token_pattern, str(description))
if match: if match:
token = match.group() token = match.group()
print(f"Priority token found in event description: {token}") print(f"Priority token found in event description: {token}")