fixed invalid import for encrypt plugin decryption

master
KF 2019-08-28 02:40:11 -05:00
parent 664b955255
commit 1c21e62606
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
import logger, config, threading, time, datetime, sys, json
from onionrblockapi import Block
from onionrutils import stringvalidators, bytesconverter
from onionrcrypto import encryption, keypair, signing
from onionrcrypto import encryption, keypair, signing, getourkeypair
import onionrexceptions, onionrusers
import locale
locale.setlocale(locale.LC_ALL, '')
@ -80,7 +80,7 @@ class PlainEncryption:
plaintext = ""
data = ""
logger.info("Please enter your message (ctrl-d or -q to stop):", terminal=True)
keypair = getourkeypair.get_our_keypair()
keypair = getourkeypair.get_keypair()
try:
for line in sys.stdin:
if line == '-q\n':