Fix Windows incompatibility when using Shaman URLs as job storage path
The Shaman URL check was done on the wrong string, which went unnoticed on Linux because an URL is a valid file path. However, on Windows this is not the case, and thus caused problems. This is now fixed.
This commit is contained in:
@@ -271,7 +271,7 @@ def is_file_inside_job_storage(prefs, current_file: typing.Union[str, Path]) ->
|
||||
|
||||
if isinstance(current_file, str):
|
||||
# Shaman URLs are always remote, so the current file cannot be in there.
|
||||
if is_shaman_url(current_file):
|
||||
if is_shaman_url(prefs.flamenco_job_file_path):
|
||||
return False
|
||||
current_file = Path(current_file)
|
||||
|
||||
|
Reference in New Issue
Block a user