[api] refactoring: temp dir now follow the patter /tmp/bauh@vinicius

This commit is contained in:
Vinicius Moreira
2021-11-24 10:46:39 -03:00
parent aa889dcd51
commit 83cc7cc134
7 changed files with 9 additions and 6 deletions

View File

@@ -1656,7 +1656,7 @@ class ArchManager(SoftwareManager):
version_files[ver] = file_path
versions.sort(reverse=True)
extract_path = '{}/arch/history'.format(TEMP_DIR)
extract_path = f'{TEMP_DIR}/arch/history'
try:
Path(extract_path).mkdir(parents=True, exist_ok=True)