From a5e37774843fb6cafb3a01b1716dadf896374203 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 18 Feb 2020 09:50:50 +0100 Subject: [PATCH] fix an exception text --- Mystery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mystery.py b/Mystery.py index 5c5f57f7..26658d3e 100644 --- a/Mystery.py +++ b/Mystery.py @@ -63,7 +63,7 @@ def main(): try: weights_cache[args.meta] = get_weights(args.meta) except Exception as e: - raise ValueError(f"File {args.weights} is destroyed. Please fix your yaml.") from e + raise ValueError(f"File {args.meta} is destroyed. Please fix your yaml.") from e print(f"Meta: {args.meta} >> {weights_cache[args.meta]['meta_description']}") if args.samesettings: raise Exception("Cannot mix --samesettings with --meta")