Skip to content

Commit

Permalink
Fix commit 1d1df46 (Fix two instances of "E722 do not use bare 'excep…
Browse files Browse the repository at this point in the history
…t'")

Fixes:
chirp/drivers/ft857.py:1104:19: E0602: Undefined variable 'Except' (undefined-variable)
  • Loading branch information
dforsi authored and kk7ds committed Jul 10, 2023
1 parent c8831b3 commit b849f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chirp/drivers/ft857.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ def set_settings(self, settings):
setattr(self._memobj, setting + "_offset", abs(val))
else:
setattr(obj, setting, element.value)
except Except:
except Exception:
LOG.debug(element.get_name())
raise

Expand Down

0 comments on commit b849f96

Please sign in to comment.