-
Notifications
You must be signed in to change notification settings - Fork 15
Syntax error in utils.py #6
Comments
What version of Python are you using? Thanks! |
I came across the same issue on Centos 7 with Python3 :-
|
I've corrected the code and replaced the named expression (Python 3.8 feature.) |
Thanks. That error was fixed but I'm getting another error :-
|
Issue resolved; replaced the named expression |
Describe the bug
Syntax error in utils.py
Screenshots
PS D:\Github\check_rep> python .\check_rep.py -q x.x.x.x
Traceback (most recent call last):
File ".\check_rep.py", line 12, in
from core.geomap import map_free_geo, multi_map
File "D:\Github\check_rep\core\geomap.py", line 10, in
from core.utils import DOMAIN, IP, Helpers, Workers, logger
File "D:\Github\check_rep\core\utils.py", line 192
if match := re.findall(self.query, req.text):
^
SyntaxError: invalid syntax
Desktop (please complete the following information):
OS: Windows
The text was updated successfully, but these errors were encountered: