fix an exception text
This commit is contained in:
parent
0220575c50
commit
a5e3777484
|
@ -63,7 +63,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
weights_cache[args.meta] = get_weights(args.meta)
|
weights_cache[args.meta] = get_weights(args.meta)
|
||||||
except Exception as e:
|
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']}")
|
print(f"Meta: {args.meta} >> {weights_cache[args.meta]['meta_description']}")
|
||||||
if args.samesettings:
|
if args.samesettings:
|
||||||
raise Exception("Cannot mix --samesettings with --meta")
|
raise Exception("Cannot mix --samesettings with --meta")
|
||||||
|
|
Loading…
Reference in New Issue