Skip to content

Commit e0c0748

Browse files
authored
Update flexistack.py
1 parent 7ec4ecd commit e0c0748

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/flexistack/flexistack.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -349,28 +349,28 @@ def __init__(self, project_dir = None, debug = False, configs_vault_dir = None,
349349
self.project_dir = os.path.abspath(os.path.normpath(project_dir))
350350
self.dprint(1,"cmp","project_dir: "+ self.project_dir)
351351

352-
_uuid_file = os.path.join(self.project_dir," resources", ".uuid")
352+
_uuid_file = os.path.join(self.project_dir, "resources", ".uuid")
353353
if os.path.exists(_uuid_file):
354354
with open(_uuid_file, 'r') as read_uuid_file:
355355
self.uuid = read_uuid_file.readline()
356356
else:
357357
self.dprint(1,"wrn","uuid: will be generated")
358358
self.uuid = uuid.uuid4().hex
359-
if not os.path.exists(os.path.join(self.project_dir," resources")):
359+
if not os.path.exists(os.path.join(self.project_dir, "resources")):
360360
os.makedirs(os.path.join(self.project_dir," resources"))
361361
with open(_uuid_file, 'w') as write_uuid_file:
362362
write_uuid_file.write(self.uuid)
363363
self.dprint(1,"cmp","uuid: "+ self.uuid)
364364

365-
_version_file = os.path.join(self.project_dir," resources", ".version")
365+
_version_file = os.path.join(self.project_dir, "resources", ".version")
366366
if os.path.exists(_version_file):
367367
with open(_version_file, 'r') as read_version_file:
368368
self.version = read_version_file.readline()
369369
else:
370370
self.dprint(1,"wrn","version: will be set to 0.0")
371371
self.version = "0.0"
372-
if not os.path.exists(os.path.join(self.project_dir," resources")):
373-
os.makedirs(os.path.join(self.project_dir," resources"))
372+
if not os.path.exists(os.path.join(self.project_dir, "resources")):
373+
os.makedirs(os.path.join(self.project_dir,"resources"))
374374
with open(_version_file, 'w') as write_version_file:
375375
write_version_file.write(self.version)
376376
self.dprint(1,"cmp","version: "+ self.version)

0 commit comments

Comments
 (0)