Skip to content

Commit

Permalink
replace is with ==
Browse files Browse the repository at this point in the history
  • Loading branch information
thoschr committed Aug 23, 2023
1 parent 98bce6d commit 2ea0612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csvfwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ def FixWidth(vals):
rowwidth = 0
offsrow[irow] -= maxlen - rowwidth
alignright = True
if ALIGN is -1:
if ALIGN == -1:
alignright = False
elif ALIGN is 0:
elif ALIGN == 0:
if vals[irow][icol].startswith('"') or vals[irow][icol].startswith('='):
alignright = False
if COMPRESS:
Expand Down

0 comments on commit 2ea0612

Please sign in to comment.