From 08463df7f4174dca61504ca3be2d2517b13b0375 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 1 May 2023 20:51:04 +0200 Subject: code style --- switcher.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'switcher.py') 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): -- cgit v1.2.3