Skip to content

Commit

Permalink
fix recursion error
Browse files Browse the repository at this point in the history
  • Loading branch information
simonxeko committed Mar 19, 2016
1 parent c55f92f commit 099d6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluxclient/commands/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_or_create_default_key(path=None):
raise
os.unlink(path)

key = KeyObject.get_or_create_keyobj(1024)
key = KeyObject.new_keyobj(1024)
with open(path, "wb") as f:
f.write(key.private_key_pem)

Expand Down

0 comments on commit 099d6b8

Please sign in to comment.