lint fixes
This commit is contained in:
parent
1f5bfb371f
commit
7aee23c1cb
@ -186,7 +186,7 @@ class ScreenPanel:
|
|||||||
# The label should wrap, but it doesn't work
|
# The label should wrap, but it doesn't work
|
||||||
# this is a workaround
|
# this is a workaround
|
||||||
new_label_text += "\n "
|
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:
|
if dev in self.labels:
|
||||||
self.labels[dev].set_label(new_label_text)
|
self.labels[dev].set_label(new_label_text)
|
||||||
|
@ -55,7 +55,7 @@ class Panel(ScreenPanel):
|
|||||||
vf += "hflip,"
|
vf += "hflip,"
|
||||||
if cam["flip_vertical"]:
|
if cam["flip_vertical"]:
|
||||||
vf += "vflip,"
|
vf += "vflip,"
|
||||||
vf += f"rotate:{cam['rotation']*3.14159/180}"
|
vf += f"rotate:{cam['rotation'] * 3.14159 / 180}"
|
||||||
logging.info(f"video filters: {vf}")
|
logging.info(f"video filters: {vf}")
|
||||||
|
|
||||||
if self.mpv:
|
if self.mpv:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user