Skip to content

Commit 67308c7

Browse files
author
Richard Jones
committed
fix actions check for < Python2.6
1 parent 8736270 commit 67308c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def check_anonymous_access(self):
742742
action = ''
743743
if isinstance(action, list):
744744
raise SeriousError('broken form: multiple @action values submitted')
745-
elif action:
745+
elif action != '':
746746
action = action.value.lower()
747747
if action in ('login', 'register'):
748748
return

0 commit comments

Comments
 (0)