Will now also use a regex for getting the week number/year out of the PDF name.
You will need that for next week or you will get:
ValueError: invalid literal for int() with base 10: '7\xad'
(There is a strange spacial character beween the 7 and _KW-7%C2%AD_12.02.-16.02.2018.pdf)
Note that the program will still throw an error after this PR. I think the reason is that the parser is confused with the empty column on Wednesday (Aschermittwoch).
Will now also use a regex for getting the week number/year out of the PDF name.
You will need that for next week or you will get:
(There is a strange spacial character beween the
7
and_
KW-7%C2%AD_12.02.-16.02.2018.pdf
)Note that the program will still throw an error after this PR. I think the reason is that the parser is confused with the empty column on Wednesday (Aschermittwoch).