diff options
| author | Dennis Fink | 2020-09-23 09:40:58 +0200 |
|---|---|---|
| committer | Dennis Fink | 2020-09-23 09:40:58 +0200 |
| commit | 042b00fd50e09c2610e2c1e906769ccdd45d5b9c (patch) | |
| tree | 0b33ccf807ffe6502082396832fe3eef6879ef9c /patternutils/commands/tmv.py | |
| parent | 7917ff35e25f7335b8ef2c64233ec3270085515f (diff) | |
| download | patternutils-042b00fd50e09c2610e2c1e906769ccdd45d5b9c.tar.gz patternutils-042b00fd50e09c2610e2c1e906769ccdd45d5b9c.zip | |
Better error message if the template/regex/command file is not found
Diffstat (limited to 'patternutils/commands/tmv.py')
| -rw-r--r-- | patternutils/commands/tmv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patternutils/commands/tmv.py b/patternutils/commands/tmv.py index 1b25441..3e92342 100644 --- a/patternutils/commands/tmv.py +++ b/patternutils/commands/tmv.py @@ -114,7 +114,7 @@ def tmv( output_pattern, "tmv" ) except FileNotFoundError: - click.secho("File not found!", fg="red", err=True) + click.secho(f"Template {output_pattern} not found!", fg="red", err=True) raise SystemExit except RuntimeError: click.secho("Multiple files found!", fg="red", err=True) |
