remove restored config from config folder (bug fix)

This commit is contained in:
avollkopf 2024-05-31 07:38:15 +02:00
parent e623aa2e5e
commit cdf70b8eb7
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.4.1.a12" __version__ = "4.4.1.a13"
__codename__ = "Yeast Starter" __codename__ = "Yeast Starter"

View file

@ -74,6 +74,7 @@ class ConfigFolder:
print(f"Changing owner and group of config folder recursively to {owner}:{group}") print(f"Changing owner and group of config folder recursively to {owner}:{group}")
self.recursive_chown(output_path, owner, group) self.recursive_chown(output_path, owner, group)
print("Removing backup file") print("Removing backup file")
os.remove(backupfile)
print("contents of restored_config.zip file have been restored.") print("contents of restored_config.zip file have been restored.")
print("in case of a partial backup you will still be prompted to run 'cbpi setup'.") print("in case of a partial backup you will still be prompted to run 'cbpi setup'.")
else: else: