mirror of
https://github.com/KrystianD/mikrotik_configurator.git
synced 2025-08-05 10:44:27 +02:00
minor
This commit is contained in:
parent
12a8853b88
commit
9cf9653afc
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ def main():
|
|||
if hasattr(yaml, "SafeLoader"):
|
||||
cfg = yaml.load(open(args.config, "rt"), Loader=yaml.SafeLoader)
|
||||
else:
|
||||
# noinspection PyArgumentList
|
||||
cfg = yaml.load(open(args.config, "rt"))
|
||||
|
||||
host = cfg["host"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue