Permalink
Browse files

bug fix: forgot parantheses

  • Loading branch information...
1 parent 3a09976 commit bee9c599e8961ec3e9d14015504dc04147881588 @dodo committed Jan 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/accounts.py
View
@@ -201,7 +201,7 @@ def get_services(self, services): # returning merged services as list
services.append(service)
merged = merged[len(service):]
# prefer statusnet
- services.sort(key=lambda s:self.services[s] == "twitter" * 1)
+ services.sort(key=lambda s:(self.services[s] == "twitter") * 1)
return services

0 comments on commit bee9c59

Please sign in to comment.