Skip to content

Commit

Permalink
Fix BorgBase repository creation (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
doesnotcompete authored May 9, 2021
1 parent 3bd0b3d commit c94da43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/borgbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,11 @@ def main():
if repo_id is None:
# Add new repo using the key
res = add_repo(key_id)

repo_exist = False
else:
# Edit the repo
res = edit_repo(repo_id, key_id)
repo_exist = True

# Setup information for Ansible
result = dict(
Expand Down

0 comments on commit c94da43

Please sign in to comment.