Skip to content

Commit e9521c9

Browse files
author
David Butterworth
committed
Remove superfluous ==True from an if statement
1 parent cce27d0 commit e9521c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ def ConvertIntToBinaryString(x, reverse=False):
974974
if type(x) != int:
975975
raise ValueError('Input number must be an integer')
976976

977-
if reverse == True:
977+
if reverse:
978978
return ''.join(reversed(bin(x)[2:]))
979979

980980
return ''.join(bin(x)[2:])

0 commit comments

Comments
 (0)