Skip to content

Commit

Permalink
Another workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed Jun 14, 2013
1 parent 6b8ae6e commit c507844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abilian/services/preferences/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def index():
"""Index redirects to the first accessible panel."""

# Work around unit test failure. FIXME.
if not getattr(current_user, 'id'):
if current_user.is_anonymous():
return "OK"

for panel in self.panels:
Expand Down

0 comments on commit c507844

Please sign in to comment.