diff --git a/flamenco_worker/commands.py b/flamenco_worker/commands.py index a26f5f8c0c344a0a61c1912533de9cc35570c91a..5c3d4ae09ca38ad2212ec9796f0e5a2354305aaf 100644 --- a/flamenco_worker/commands.py +++ b/flamenco_worker/commands.py @@ -326,7 +326,7 @@ def _numbered_path(directory: Path, fname_prefix: str, fname_suffix: str) -> Pat except ValueError: continue max_nr = max(max_nr, num) - return directory / f'{fname_prefix}{max_nr+1:03}{fname_suffix}' + return directory / f'{fname_prefix}{max_nr + 1:03}{fname_suffix}' @command_executor('move_out_of_way')