Skip to content

Commit

Permalink
fix statment, was always false
Browse files Browse the repository at this point in the history
  • Loading branch information
breznak committed Nov 16, 2013
1 parent 46607b7 commit 0db2ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/linguist.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def runLinguist(datapath):
c = f.read(1)
if not c: break

if ord(c) <= 31 and ord(c) >= 127 and ord(c) != 10: continue
if not ( (ord(c) >= 31 and ord(c) <= 127) or c == '\n'): continue
if (last_c == ' ' or last_c == '\n') and c == last_c: continue

last_c = c
Expand Down

0 comments on commit 0db2ae6

Please sign in to comment.