fix restor backup issue

This commit is contained in:
avollkopf 2022-05-12 21:27:12 +02:00
parent e86c3d2f1c
commit 9634e876ce
3 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.0.5"
__version__ = "4.0.6"
__codename__ = "Spring Break"

View file

@ -126,7 +126,7 @@ class ConfigFolder:
pathlib.Path(os.path.join(self._rawPath, 'recipes')).mkdir(parents=True, exist_ok=True)
pathlib.Path(os.path.join(self._rawPath, 'upload')).mkdir(parents=True, exist_ok=True)
def recursive_chown(path, owner, group):
def recursive_chown(self, path, owner, group):
for dirpath, dirnames, filenames in os.walk(path):
shutil.chown(dirpath, owner, group)
for filename in filenames:

View file

@ -47,7 +47,7 @@ def release():
match = re.search('.*\"(.*)\"', reader.readline())
version = match.group(1)
path = "dist/cbpi-{}.tar.gz".format(version)
path = "dist/cbpi4-{}.tar.gz".format(version)
print("Uploading File {} ".format(path))
subprocess.run(["twine", "upload", path])