Skip to content
Snippets Groups Projects

Change ezca result to int to avoid exception later.

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -272,7 +272,7 @@ def cmd_decode(args):
try:
SWSTAT = int(sw)
except ValueError:
SWSTAT = Ezca().read(sw)
SWSTAT = int(Ezca().read(sw))
buttons = SFMask.from_swstat(SWSTAT)
elif len(args.SW) == 2:
try:
Loading