You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% flagpoll --version
File "/opt/local/bin/flagpoll", line 418
print list_string.strip()
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
The text was updated successfully, but these errors were encountered:
Bro It looks like there is a syntax error in the flagpoll script you are trying to run. The error message suggests that there is a print statement without parentheses, which is not valid syntax in Python 3.
To fix the error, you need to add parentheses around the argument to the print statement. For example, instead of:
python
print list_string.strip()
You should write:
scss
print(list_string.strip())
This will ensure that the print statement is valid Python 3 syntax. Once you have made this change, try running the flagpoll --version command again and see if it works correctly.
The text was updated successfully, but these errors were encountered: