One more pylint fix

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2020-06-27 17:33:06 +01:00
parent 4db6bf43c5
commit 7eeefdd7c6
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,9 @@ ${pylint} \
--max-line-length=120 \
--max-locals=25 \
--max-statements=100 \
--enable=bad-continuation \
--enable=\
bad-continuation,\
len-as-condition \
--disable=\
bad-whitespace,\
broad-except,\

View File

@ -316,7 +316,7 @@ class RackListWidget(QListWidget):
urls = event.mimeData().urls()
if len(urls) == 0:
if not urls:
return
tryItem = self.itemAt(event.pos())