diff options
author | Jesús <heckyel@hyperbola.info> | 2019-12-16 17:01:20 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-12-16 17:01:20 -0500 |
commit | 1ff4160e8cfa4e23e21c249876dfa85e7482cb2a (patch) | |
tree | 432320fe44cf27f4af1807edd6d94f1d32e905b9 /hypervideo_gui/main_ui.py | |
parent | a4d5d70a81f5922ab3207ba1c2411599a6788fa8 (diff) | |
download | hypervideo-gui-1ff4160e8cfa4e23e21c249876dfa85e7482cb2a.tar.lz hypervideo-gui-1ff4160e8cfa4e23e21c249876dfa85e7482cb2a.tar.xz hypervideo-gui-1ff4160e8cfa4e23e21c249876dfa85e7482cb2a.zip |
fix: file_name is not boolean data, is string
Diffstat (limited to 'hypervideo_gui/main_ui.py')
-rw-r--r-- | hypervideo_gui/main_ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hypervideo_gui/main_ui.py b/hypervideo_gui/main_ui.py index 0b67131..d07a6e0 100644 --- a/hypervideo_gui/main_ui.py +++ b/hypervideo_gui/main_ui.py @@ -287,7 +287,7 @@ class MainWindow(QMainWindow): file_name, _ = QFileDialog.getOpenFileName(self, "locate hypervideo", "/usr/bin/hypervideo", "exec Files (*)") debugging('Value of filename is %s' % file_name) - if file_name: + if file_name is not None: self.lbl_hypervideo_path.setText(file_name) self.hypervideo_bin = file_name |