raise TypeError
sschalamon opened this issue · comments
The following error occurs when calling "python3 main.py":
Traceback (most recent call last):
File "main.py", line 211, in
pattern = re.compile(args.regex)
File "/usr/lib/python3.8/re.py", line 252, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.8/re.py", line 303, in _compile
raise TypeError("first argument must be string or compiled pattern")
TypeError: first argument must be string or compiled pattern
My environment:
Python 3.8, Ubuntu 20.04.2 LTS, but same error with recent Linux Mint.
No Error when calling "python3 main.py --help"
Thank you for reporting. Fixed with the mentioned commit.