Skip to content

Commit

Permalink
keep the default working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Jun 5, 2023
1 parent 4b1894f commit 0aaa045
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions bin/proviral
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,10 @@ def get_working_folder(path):
Returns a default working folder.
"""

folder = os.path.join(
path,
".proviral-" + str(uuid.uuid4())
)
if not os.path.exists(path):
os.makedirs(path)

if not os.path.exists(folder):
os.makedirs(folder)

return folder
return path

@click.group()
def cli():
Expand Down

0 comments on commit 0aaa045

Please sign in to comment.