mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-16 17:47:23 +01:00
Fixed PLC1901 (compare-to-empty-string)
This commit is contained in:
@@ -511,7 +511,7 @@ def list_target_files(config):
|
||||
if path == '/':
|
||||
path = ''
|
||||
|
||||
if bucket == "":
|
||||
if not bucket:
|
||||
msg = "Enter an S3 bucket name."
|
||||
raise ValueError(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user