Blob Blame Raw
From e45b0d60685e7a0b7a94877d009fa2dc7773dd9a Mon Sep 17 00:00:00 2001
From: Stephen Collins <scrivera64@gmail.com>
Date: Sat, 14 Sep 2019 10:23:12 -0600
Subject: [PATCH] cs_default.py: fix missing declaration causing crash when
 desc not found

---
 files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
index 85a90d6c2b..5c23e4da9c 100755
--- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
+++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py
@@ -443,6 +443,7 @@ def acceptContentType(self, content_type):
         return True
 
     def getDescription(self, content_type):
+        description = None
         for d in other_defs:
             if content_type == d[DEF_CONTENT_TYPE]:
                 s = d[DEF_LABEL]