diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-06-15 17:44:40 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-06-15 17:44:40 -0300 |
commit | 3522e3ef4898516c8c00bfd8ba4dc8fc489696a1 (patch) | |
tree | 5816effce260948d513e2d5103d975f47fd1f357 /service | |
parent | da1a71479583223a1c4939d51c4d6574af1a32a3 (diff) |
key generation isnt a side effect of start background jobs
Diffstat (limited to 'service')
-rw-r--r-- | service/pixelated/bitmask_libraries/session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/bitmask_libraries/session.py b/service/pixelated/bitmask_libraries/session.py index b3140a89..cf6bc0f6 100644 --- a/service/pixelated/bitmask_libraries/session.py +++ b/service/pixelated/bitmask_libraries/session.py @@ -72,11 +72,11 @@ class LeapSession(object): self.nicknym = nicknym self.account = soledad_account self.incoming_mail_fetcher = incoming_mail_fetcher + self.soledad_session.soledad.sync(defer_decryption=False) + self.nicknym.generate_openpgp_key() if self.config.start_background_jobs: self.start_background_jobs() - self.soledad_session.soledad.sync(defer_decryption=False) - self.nicknym.generate_openpgp_key() def account_email(self): name = self.user_auth.username |