Skip to content

Commit

Permalink
Create RSA key before checking if user is set in configuration file. …
Browse files Browse the repository at this point in the history
…Solves #4
  • Loading branch information
juan cañete committed Oct 16, 2017
1 parent 793c32b commit 439ea5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/komlogd/base/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@


def initialize_komlog_session():
username = config.config.username
privkey = crypto.get_private_key()
username = config.config.username
return session.KomlogSession(username=username, privkey=privkey)

async def send_stdin(s, uri):
Expand Down

0 comments on commit 439ea5f

Please sign in to comment.