Skip to content

Commit 26bf1c0

Browse files
authored
fix freeze, bug 833 (#834)
1 parent 76fda8a commit 26bf1c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

usr/lib/linuxmint/mintUpdate/mintUpdate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,8 @@ def run(self):
902902
"%s%s%s" % (_("Could not refresh the list of updates"), "\n\n" if error_msg else "", error_msg),
903903
"mintupdate-error-symbolic", True)
904904
self.application.stack.set_visible_child_name("status_error")
905-
self.application.builder.get_object("label_error_details").set_text(error_msg)
905+
if error_msg:
906+
self.application.builder.get_object("label_error_details").set_text(error_msg)
906907
self.application.builder.get_object("label_error_details").show()
907908
Gdk.threads_leave()
908909
self.cleanup()

0 commit comments

Comments
 (0)