mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 05:14:16 +02:00
[flatpak] fix -> not able to make the exports directory (missing parents argument)
This commit is contained in:
@@ -324,7 +324,7 @@ class FlatpakManager(SoftwareManager):
|
|||||||
self.logger.info("Creating dir '{}'".format(EXPORTS_PATH))
|
self.logger.info("Creating dir '{}'".format(EXPORTS_PATH))
|
||||||
watcher.print('Creating dir {}'.format(EXPORTS_PATH))
|
watcher.print('Creating dir {}'.format(EXPORTS_PATH))
|
||||||
try:
|
try:
|
||||||
os.mkdir(EXPORTS_PATH)
|
Path(EXPORTS_PATH).mkdir(parents=True, exist_ok=True)
|
||||||
except:
|
except:
|
||||||
watcher.print('Error while creating the directory {}'.format(EXPORTS_PATH))
|
watcher.print('Error while creating the directory {}'.format(EXPORTS_PATH))
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user