Support message C PoW fix

This commit is contained in:
Peter Šurda 2017-08-15 18:14:36 +02:00
parent 8b3d7ea278
commit 2da4d00730
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -13,7 +13,7 @@ from helper_sql import *
from l10n import getTranslationLanguage
from openclpow import openclAvailable, openclEnabled
import paths
from proofofwork import bmpow
import proofofwork
from pyelliptic.openssl import OpenSSL
import queues
import shared
@ -111,7 +111,7 @@ def createSupportMessage(myapp):
if paths.frozen:
frozen = paths.frozen
portablemode = "True" if state.appdata == paths.lookupExeFolder() else "False"
cpow = "True" if bmpow else "False"
cpow = "True" if proofofwork.bmpow else "False"
#cpow = QtGui.QApplication.translate("Support", cpow)
openclpow = str(BMConfigParser().safeGet('bitmessagesettings', 'opencl')) if openclEnabled() else "None"
#openclpow = QtGui.QApplication.translate("Support", openclpow)