Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
python -m pip install pylint
- name: Testing with pylint
run: |
pylint pysteve -d W0311 # enable later
pylint pysteve
2 changes: 1 addition & 1 deletion pysteve/lib/plugins/cop.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def validateCOP(vote, issue):
except:
pass # This is a fast way to determine vote type, passing here is FINE!
if not vote in letters and (ivote < 0 or ivote > len(issue['candidates'])):
return "Invalid characters in vote. Accepted are: %s" % ", ".join(letters,range(1,len(issue['candidates'])+1))
return "Invalid characters in vote. Accepted are: %s" % ", ".join(letters,range(1,len(issue['candidates'])+1))
return None

def parseCandidatesCOP(data):
Expand Down
Loading
Loading