From 1c01f2c6d587db099d8aaca432e634936dfc1ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 10 Dec 2019 15:41:37 -0500 Subject: Fix "Do not use `len(SEQUENCE)` as condition value" --- hypervideo_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hypervideo_gui.py') 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!') -- cgit v1.2.3