Skip to content


Browse files Browse the repository at this point in the history
BF: print(RunTimeInfo()) not working due to unicode/str error
The code was trying to sort by lower() which wasn't necessary and
hard to implement in a way that supports Py2 and Py3 together

fixes #1825
  • Loading branch information
peircej committed May 17, 2018
1 parent b07f8fb commit 29de950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/
Expand Up @@ -580,7 +580,7 @@ def __repr__(self):
# get keys for items matching this section label;
# use reverse-alpha order if easier to read:
revSet = ('PsychoPy', 'Window', 'Python', 'OpenGL')
sectKeys.sort(key=str.lower, reverse=bool(sect in revSet))
sectKeys.sort(reverse=bool(sect in revSet))
for k in sectKeys:
selfk = self[k] # alter a copy for display purposes
Expand Down

0 comments on commit 29de950

Please sign in to comment.