From e6149fa40df126ce282e1554a7d780ec7d93357c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 25 Dec 2012 14:21:10 -0800 Subject: [PATCH] lovely --- yomi_base/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yomi_base/reader.py b/yomi_base/reader.py index cffa118..53baf76 100644 --- a/yomi_base/reader.py +++ b/yomi_base/reader.py @@ -158,7 +158,7 @@ class MainWindowReader(QtGui.QMainWindow, reader_ui.Ui_MainWindowReader): caption='Select a file to open', filter='Text files (*.txt);;Archive files (*.bz2 *.gz *.tar *.tgz);;All files (*.*)' ) - if not filename.isNull(): + if filename: self.openFile(filename)