From 48273a82058478909bd5c52cabb0d74c9b6c8f38 Mon Sep 17 00:00:00 2001 From: ncoop Date: Wed, 13 Apr 2016 13:05:12 -0700 Subject: [PATCH] Unknown update list gives empty string. --- i3pystatus/updates/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/updates/__init__.py b/i3pystatus/updates/__init__.py index 2aef974..3e2beb2 100644 --- a/i3pystatus/updates/__init__.py +++ b/i3pystatus/updates/__init__.py @@ -113,9 +113,9 @@ class Updates(Module): for backend in self.backends: key = backend.__class__.__name__ if key not in self.data: - self.data[key] = '?' + self.data[key] = "?" if key not in self.notif_body: - self.notif_body[key] = '?' + self.notif_body[key] = "" self.output = { "full_text": formatp(self.format_working, **self.data).strip(),