Skip to content

Commit

Permalink
FIX: Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Oct 31, 2015
1 parent be6388d commit 368b0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/gui/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ def read_tooltips(gui_name):
with open(help_path) as fid:
raw_tooltips = json.load(fid)
format_ = TextWrapper(width=60, fix_sentence_endings=True).fill
return {key: format_(text) for key, text in raw_tooltips.items()}
return dict((key, format_(text)) for key, text in raw_tooltips.items())

0 comments on commit 368b0c0

Please sign in to comment.