Merge pull request #51 from avollkopf/development

fix restore backup issue
This commit is contained in:
Alexander Vollkopf 2022-05-12 21:28:16 +02:00 committed by GitHub
commit 58175bf951
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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])