Sync Server - minor fix for single root

This commit is contained in:
Petr Kalis 2020-10-22 14:15:32 +02:00
parent 6564a8891c
commit 7f1fb8fb4e
2 changed files with 1 additions and 4 deletions

View file

@ -638,9 +638,6 @@ class SyncServer():
Returns:
(string) - absolute path on remote location
"""
if isinstance(root_config, str):
root_config = {'root': root_config}
path = file.get("path", "")
path = path.format(**{"root": root_config})
return path