|
@@ -343,10 +343,6 @@ class Profile:
|
|
|
if not _exists(_join(self.name, "keys")):
|
|
if not _exists(_join(self.name, "keys")):
|
|
|
_write_example(self.name)
|
|
_write_example(self.name)
|
|
|
_write_example_mirror(self.name)
|
|
_write_example_mirror(self.name)
|
|
|
- # Initial load
|
|
|
|
|
- self.reload()
|
|
|
|
|
-
|
|
|
|
|
- def reload(self):
|
|
|
|
|
# Load toml config
|
|
# Load toml config
|
|
|
with open(_join(self.name, self.name+".toml"), "r") as f:
|
|
with open(_join(self.name, self.name+".toml"), "r") as f:
|
|
|
dat = _toml_load(f)
|
|
dat = _toml_load(f)
|
|
@@ -381,5 +377,4 @@ if __name__ == "__main__":
|
|
|
_print_warn("Missing '_example' profile, creating...")
|
|
_print_warn("Missing '_example' profile, creating...")
|
|
|
p = Profile("_example")
|
|
p = Profile("_example")
|
|
|
_print_ok("")
|
|
_print_ok("")
|
|
|
- exit()
|
|
|
|
|
- _print_ok("All okay")
|
|
|
|
|
|
|
+ _print_ok("")
|