Skip to content

Commit

Permalink
Fix the 1.1.1 fix : reactivate syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
user authored and user committed Jul 18, 2012
1 parent a752c55 commit ce8151f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions khtsimpletext/__init__.py
Expand Up @@ -36,7 +36,7 @@

__author__ = 'Benoit HERVIER (Khertan)'
__email__ = 'khertan@khertan.net'
__version__ = '1.1.1'
__version__ = '1.1.2'

class Settings(QObject):
'''Config object'''
Expand Down Expand Up @@ -120,7 +120,7 @@ def _load(self,path):
print 'Probably utf-16 ... decode it to utf-8 as qml didn t support it well'
text = text.decode('utf-16')

if (Settings.syntaxHighlighting == True):
if (Settings.syntaxHighlighting):
print 'Syntax highlighting Enabled'
self._colorIt(text)
else:
Expand Down
3 changes: 2 additions & 1 deletion make.py
Expand Up @@ -44,7 +44,8 @@
* fix missing package beautifulsoup in the package dependencies
1.1.0 :
* fix reading of highlighting setting, and add support for decoding utf-16 file
1.1.1: fix the 1.1.0 fix :)'''
1.1.1: fix the 1.1.0 fix :)
1.1.2: fix the 1.1.1 fix :p'''

if __name__ == "__main__":
try:
Expand Down

0 comments on commit ce8151f

Please sign in to comment.