Skip to content

Commit

Permalink
Pylint: fix zone isinstance warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenbe committed May 24, 2024
1 parent 2b507ae commit 2ff6a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfospot40/zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __placecounterintake(self):
def __placeholder(self, var, num):
if not var:
return "_" * num
if type(var) == str:
if isinstance(var, str):
return var[0:num]
return var

Expand Down

0 comments on commit 2ff6a87

Please sign in to comment.