diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-08-30 16:29:33 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-08-30 16:29:33 +0000 |
commit | 781f65e188bcfecc44159b016a023242bf74bbe8 (patch) | |
tree | b373673d518dc4d6f8d0f91ef1589817fc7d4b65 /gui.py | |
parent | d6c4c3f9d93683fe2ae1a30cc59880e3a215f0d6 (diff) | |
download | anaconda-781f65e188bcfecc44159b016a023242bf74bbe8.tar.gz anaconda-781f65e188bcfecc44159b016a023242bf74bbe8.tar.xz anaconda-781f65e188bcfecc44159b016a023242bf74bbe8.zip |
2006-08-30 Jeremy Katz <katzj@redhat.com>
* gui.py (readImageFromFile): Fix the case where an image doesn't
exist (#204648)
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -439,7 +439,7 @@ def readImageFromFile(file, height = None, width = None, dither = None, pixbuf = getPixbuf(file) if pixbuf is None: log.warning("can't find pixmap %s" %(file,)) - pixbuf = None + return None if (height is not None and width is not None and height != pixbuf.get_height() |