diff options
| author | Franziska Kunsmann <hi@kunsmann.eu> | 2023-05-01 20:51:04 +0200 |
|---|---|---|
| committer | Franziska Kunsmann <hi@kunsmann.eu> | 2023-05-01 20:51:04 +0200 |
| commit | 08463df7f4174dca61504ca3be2d2517b13b0375 (patch) | |
| tree | 49df1b2656e3b7b0292814a9417fb57e3e937299 /switcher.py | |
| parent | b3c36ce799d4368d4c228426a8a547e26aa095d6 (diff) | |
code style
Diffstat (limited to 'switcher.py')
| -rw-r--r-- | switcher.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/switcher.py b/switcher.py index 3959445..f7cbfb1 100644 --- a/switcher.py +++ b/switcher.py @@ -1,8 +1,7 @@ import logging import PyATEMMax -from PyATEMMax.ATEMProtocolEnums import (ATEMTransitionStyles, - ATEMVideoModeFormats) +from PyATEMMax.ATEMProtocolEnums import ATEMTransitionStyles, ATEMVideoModeFormats VIDEO_FORMATS = {f[1:] for f in dir(ATEMVideoModeFormats) if f.startswith("f")} @@ -81,7 +80,9 @@ class PyATEMSwitcher: self.atem.setInputLongName(input_number, name) self.atem.setInputShortName(input_number, name[0:4].upper()) except Exception as e: - self.log.error("An error occurred while trying to adjust input names") + self.log.error( + "An error occurred while trying to adjust input names" + ) self.log.exception(e) def _validate_config(self): |
