mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-09 16:37:23 +01:00
Fixed RET504 (unnecessary-assign)
This commit is contained in:
committed by
Joshua Tauberer
parent
6bfd1e5140
commit
b7f70b17ac
@@ -257,8 +257,7 @@ def get_duplicity_env_vars(env):
|
||||
return env
|
||||
|
||||
def get_target_type(config):
|
||||
protocol = config["target"].split(":")[0]
|
||||
return protocol
|
||||
return config["target"].split(":")[0]
|
||||
|
||||
def perform_backup(full_backup):
|
||||
env = load_environment()
|
||||
|
||||
Reference in New Issue
Block a user