aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_gui.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-12-10 15:41:37 -0500
committerJesús <heckyel@hyperbola.info>2019-12-10 15:41:37 -0500
commit1c01f2c6d587db099d8aaca432e634936dfc1ae2 (patch)
treee5dcff6e2c80c7c436dc3228c6637694da63c8d6 /hypervideo_gui.py
parentd890768c160ff09bffc51fb3bdf5f32e233a571d (diff)
downloadhypervideo-gui-1c01f2c6d587db099d8aaca432e634936dfc1ae2.tar.lz
hypervideo-gui-1c01f2c6d587db099d8aaca432e634936dfc1ae2.tar.xz
hypervideo-gui-1c01f2c6d587db099d8aaca432e634936dfc1ae2.zip
Fix "Do not use `len(SEQUENCE)` as condition value"
Diffstat (limited to 'hypervideo_gui.py')
-rw-r--r--hypervideo_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypervideo_gui.py b/hypervideo_gui.py
index 5cc9c52..ec5ae85 100644
--- a/hypervideo_gui.py
+++ b/hypervideo_gui.py
@@ -272,7 +272,7 @@ class App(QMainWindow):
'''
file = str(QFileDialog.getExistingDirectory(self, "Select Directory"))
- if len(file) > 0:
+ if file:
self.addItemToDownloadsCombobox(file)
else:
self.statusBar().showMessage('Select a folder!')