Skip to content

Commit

Permalink
client: Remove redundant check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Phan committed Apr 18, 2020
1 parent 2d66b0a commit 13e22fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qpdf-convert-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def recvline_b():
return untrusted_data

def check_range(val, upper):
if (not 1 <= val <= upper) or (not 1 <= val <= upper):
if not 1 <= val <= upper:
raise ValueError

def mkdir_archive():
Expand Down

0 comments on commit 13e22fc

Please sign in to comment.