Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
nadomeščanja
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Oct 23, 2023
1 parent 788e13e commit 69abdf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/microsoft.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def get_sharepoint_files(access_token: str):

for file in disk_contents.json()["value"]:
name = file["name"]
z = re.search("nadome[sš][cč]anje[_ ](3[01]|[12][0-9]|[1-9])\.[ ]*(1[0-2]|[1-9]).*\.pdf", name)
z = re.search("nadome[sš][cč]anj[ea][_ ](3[01]|[12][0-9]|[1-9])\.[ ]*(1[0-2]|[1-9]).*\.pdf", name)
if z is None:
print(f"[SHAREPOINT] Failure while matching substitutions: {name}")
csv_name = f'substitutions/{name.lower().replace(".pdf", ".csv")}'
Expand Down

0 comments on commit 69abdf0

Please sign in to comment.