diff options
author | TopperDEL <github_com@tparth.de> | 2020-07-22 13:40:21 +0300 |
---|---|---|
committer | TopperDEL <github_com@tparth.de> | 2020-07-22 13:40:21 +0300 |
commit | 6a8a029c702424629f4d708230d47a6c28dacc5c (patch) | |
tree | bbf4492fc4c997680fa924bd07104394efe99c49 /Duplicati/Library/Backend/Tardigrade | |
parent | 512aa9b979ac96b67603725c597d76c0d0c1078f (diff) |
cleanup: Reduce one line
Diffstat (limited to 'Duplicati/Library/Backend/Tardigrade')
-rw-r--r-- | Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs b/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs index 165e07673..ab077ce04 100644 --- a/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs +++ b/Duplicati/Library/Backend/Tardigrade/TardigradeBackend.cs @@ -268,9 +268,8 @@ namespace Duplicati.Library.Backend.Tardigrade foreach (var obj in objects.Items) { TardigradeFile file = new TardigradeFile(obj); - var basePath = GetBasePath(); - if (basePath != "") - file.Name = file.Name.Replace(basePath, ""); + if (prefix != "") + file.Name = file.Name.Replace(prefix, ""); files.Add(file); } |