Add error message instead of page content if can't load file

This commit is contained in:
Huluti 2016-12-11 00:42:18 +01:00
parent 849185e23f
commit 29b6fe4d8c

View File

@ -187,7 +187,7 @@ class ManjaroHello():
with open(filename, "r") as f:
return f.read()
except OSError as e:
return None
return "Can't load page."
# Handlers
def on_languages_changed(self, combobox):