Skip to content

Commit

Permalink
Merge pull request #1501 from abbradar/patch-1
Browse files Browse the repository at this point in the history
Fix message when network directory doesn't exist
  • Loading branch information
roberth authored Jan 19, 2022
2 parents 6de9d85 + afe9a1e commit ce1c57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixops/script_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_network_file(args: Namespace) -> NetworkFile:
network_dir: str = os.path.abspath(args.network_dir)

if not os.path.exists(network_dir):
raise ValueError("f{network_dir} does not exist")
raise ValueError(f"{network_dir} does not exist")

classic_path = os.path.join(network_dir, "nixops.nix")
flake_path = os.path.join(network_dir, "flake.nix")
Expand Down

0 comments on commit ce1c57e

Please sign in to comment.