lint fixes

This commit is contained in:
alfrix 2023-11-03 23:33:44 -03:00
parent 1f5bfb371f
commit 7aee23c1cb
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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: