fix importkey file path

pull/5/head
Mustafa Yontar 4 years ago
parent 02eb14ea1a
commit bf5942905f
  1. 2
      internal_lib/EncryptedField.py

@ -12,7 +12,7 @@ class EncryptedStringField(BaseField):
def __init__(self, **kwargs):
self.keyPair = RSA.importKey(open("privkey.pem").read())
self.keyPair = RSA.importKey(open(current_app.config.get('priv_key_path')).read())
super().__init__(**kwargs)

Loading…
Cancel
Save