Skip to content

Commit 86f6d40

Browse files
committed
Fix issue #11
1 parent 779f56d commit 86f6d40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/inputapi/numerical/integer/_integer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def newLineInt(
7373
)
7474

7575
check = _intHandle(user, allowNeg, min, max)
76-
if isinstance(check, int):
76+
if not isinstance(check, bool):
7777
user = check
7878
validInput = True
7979

@@ -128,7 +128,7 @@ def sameLineInt(
128128
)
129129

130130
check = _intHandle(user, allowNeg, min, max)
131-
if isinstance(check, int):
131+
if not isinstance(check, bool):
132132
user = check
133133
validInput = True
134134

0 commit comments

Comments
 (0)