forked from mirrors/thatmattlove-hyperglass
comment update
This commit is contained in:
parent
691e075759
commit
f5fb9c415d
1 changed files with 2 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ from hyperglass.configuration.models import (
|
|||
credentials as _credentials,
|
||||
)
|
||||
from hyperglass.exceptions import ConfigError, ConfigInvalid, ConfigMissing
|
||||
from hyperglass.constants import afi_nos_map
|
||||
|
||||
# Project Directories
|
||||
working_dir = Path(__file__).resolve().parent
|
||||
|
|
@ -35,7 +36,7 @@ except FileNotFoundError as no_config_error:
|
|||
user_config = None
|
||||
logger.error(f"{no_config_error} - Default configuration will be used")
|
||||
|
||||
# Import device commands file
|
||||
# Import commands file
|
||||
try:
|
||||
with open(working_dir.joinpath("commands.yaml")) as commands_yaml:
|
||||
user_commands = yaml.safe_load(commands_yaml)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue