diff --git a/ks_includes/screen_panel.py b/ks_includes/screen_panel.py index 060c2b78..ddf4dcc4 100644 --- a/ks_includes/screen_panel.py +++ b/ks_includes/screen_panel.py @@ -186,7 +186,7 @@ class ScreenPanel: # The label should wrap, but it doesn't work # this is a workaround new_label_text += "\n " - new_label_text += f" {int(power*100):3}%" + new_label_text += f" {int(power * 100):3}%" if dev in self.labels: self.labels[dev].set_label(new_label_text) diff --git a/panels/camera.py b/panels/camera.py index 2b4528bf..a1fa49bd 100644 --- a/panels/camera.py +++ b/panels/camera.py @@ -55,7 +55,7 @@ class Panel(ScreenPanel): vf += "hflip," if cam["flip_vertical"]: vf += "vflip," - vf += f"rotate:{cam['rotation']*3.14159/180}" + vf += f"rotate:{cam['rotation'] * 3.14159 / 180}" logging.info(f"video filters: {vf}") if self.mpv: