summaryrefslogtreecommitdiff
path: root/switcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'switcher.py')
-rw-r--r--switcher.py7
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):