safe_format is better than I thought
@@ -125,9 +125,6 @@ class Py3status:
name = vpn
color = self.py3.COLOR_GOOD
- if name is None:
- full_text = self.py3.safe_format(self.format)
- else:
full_text = self.py3.safe_format(self.format, {'name': name})
response = {
