diff --git a/src/dotenv/__init__.py b/src/dotenv/__init__.py index 3512d101..9dbd2543 100644 --- a/src/dotenv/__init__.py +++ b/src/dotenv/__init__.py @@ -23,9 +23,9 @@ def get_cli_string( """ command = ['dotenv'] if quote: - command.append('-q %s' % quote) + command.append(f'-q {quote}') if path: - command.append('-f %s' % path) + command.append(f'-f {path}') if action: command.append(action) if key: