Skip to content

Commit cddb110

Browse files
authored
Merge pull request #9 from Sobuno/ParseOutboundCensor
Parse outboundCensorID as event ID as well.
2 parents 6b5b06c + b6d1479 commit cddb110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectocal/lectio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _get_lectio_weekformat_with_offset(offset):
6565

6666

6767
def _get_id_from_link(link):
68-
match = re.search("(?:absid|ProeveholdId)=(\d+)", link)
68+
match = re.search("(?:absid|ProeveholdId|outboundCensorID)=(\d+)", link)
6969
if match is None:
7070
raise IdNotFoundInLinkError("Couldn't find id in link: {}".format(
7171
link))

0 commit comments

Comments
 (0)