summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-05-29 23:18:21 +0000
committerJeremy Katz <katzj@redhat.com>2002-05-29 23:18:21 +0000
commit01775d2b53abdc48fbe15ba8284dd3cafdcb3a87 (patch)
tree6fd3b7d0d39b2439f2c75d92fe3cd5b87dd63ac7
parent9df6f4ab8e8f9c8c68d88a5a0201d4eff1cd2501 (diff)
downloadanaconda-01775d2b53abdc48fbe15ba8284dd3cafdcb3a87.tar.gz
anaconda-01775d2b53abdc48fbe15ba8284dd3cafdcb3a87.tar.xz
anaconda-01775d2b53abdc48fbe15ba8284dd3cafdcb3a87.zip
make html release notes work in other languages too (#65672)
-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()