1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fixed incorrect config path

This commit is contained in:
checktheroads
2019-06-11 21:31:00 -07:00
parent 5c304805a3
commit 56c70ce94e

View File

@@ -498,7 +498,7 @@ def migrateconfig():
try:
click.secho("Migrating example config files...", fg="black")
working_directory = os.path.dirname(os.path.abspath(__file__))
config_dir = os.path.join(working_directory, "configuration/")
config_dir = os.path.join(working_directory, "hyperglass/configuration/")
examples = glob.iglob(os.path.join(config_dir, "*.example"))
for f in examples:
basefile, extension = os.path.splitext(f)