summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index 040801f95..5934f2dac 100755
--- a/gui.py
+++ b/gui.py
@@ -543,7 +543,7 @@ class InstallControlWindow:
fn = "%s/RELEASE-NOTES%s" % (sourcepath, suffix)
if os.access(fn, os.R_OK):
file = open(fn, "r")
- if suffix == '.html':
+ if suffix[-5:] == '.html':
buffer = htmlbuffer.HTMLBuffer()
buffer.feed(utf8(file.read()))
self.releaseNotesBuffer = buffer.get_buffer()