comparison libervia/cli/call_simple.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents d01b8d002619
children
comparison
equal deleted inserted replaced
4269:64a85ce8be70 4270:0d7bb4df2343
86 ) 86 )
87 87
88 def get_video_display(self): 88 def get_video_display(self):
89 assert self.webrtc is not None 89 assert self.webrtc is not None
90 if self.webrtc.video_muted: 90 if self.webrtc.video_muted:
91 return Panel(Text("❌ ") + self.styled_shortcut_key("Video Off"), expand=False) 91 return Panel(
92 Text("❌ ") + self.styled_shortcut_key("Video Off"), expand=False
93 )
92 else: 94 else:
93 return Panel(Text("🎥 ") + self.styled_shortcut_key("Video On"), expand=False) 95 return Panel(Text("🎥 ") + self.styled_shortcut_key("Video On"), expand=False)
94 96
95 def get_phone_display(self): 97 def get_phone_display(self):
96 return Panel(Text("📞 ") + self.styled_shortcut_key("Hang up"), expand=False) 98 return Panel(Text("📞 ") + self.styled_shortcut_key("Hang up"), expand=False)