summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--iw/progress_gui.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/iw/progress_gui.py b/iw/progress_gui.py
index ef98c19de..7a466025b 100644
--- a/iw/progress_gui.py
+++ b/iw/progress_gui.py
@@ -161,18 +161,19 @@ class InstallProgressWindow (InstallWindow):
shortlang = string.split(os.environ['LANG'], '_')[0]
except:
shortlang = ''
+ else:
+ shortlang = ''
+ pixmaps1 = glob.glob("/usr/share/anaconda/pixmaps/rnotes/%s/*.png" % shortlang)
+ pixmaps2 = glob.glob("pixmaps/rnotes/%s/*.png" % shortlang)
- pixmaps1 = glob.glob("/usr/share/anaconda/pixmaps/rnotes/%s/*.png" % shortlang)
- pixmaps2 = glob.glob("pixmaps/rnotes/%s/*.png" % shortlang)
-
- if len(pixmaps1) > 0 or len(pixmaps2) > 0:
- if len(pixmaps1) < len(pixmaps2):
- files = pixmaps2
- else:
- files = pixmaps1
+ if len(pixmaps1) > 0 or len(pixmaps2) > 0:
+ if len(pixmaps1) < len(pixmaps2):
+ files = pixmaps2
else:
- files = ["progress_first.png"]
+ files = pixmaps1
+ else:
+ files = ["progress_first.png"]
#--Need to merge with if statement above...don't show ads in lowres
if intf.runres != '800x600':