Skip to content

Commit

Permalink
Address review: isinstance
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeagherix committed Jan 10, 2025
1 parent 8254a8b commit d0adbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/etc_files/scst.conf.mako
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
return False
def option_value(v):
if type(v) is bool:
if isinstance(v, bool):
return "Yes" if v else "No"
return v
%>\
Expand Down

0 comments on commit d0adbbf

Please sign in to comment.