Translation and other merge requests #224

Merged
Atheros1 merged 47 commits from master into master 2013-06-19 16:55:24 +02:00
Showing only changes of commit 7f4fee40fb - Show all commits

View File

@ -41,7 +41,6 @@ def _doFastPoW(target, initialHash):
import shared
import time
from multiprocessing import Pool, cpu_count
import os
try:
pool_size = cpu_count()
except:
@ -69,7 +68,7 @@ def _doFastPoW(target, initialHash):
time.sleep(0.2)
def run(target, initialHash):
if linux in sys.platform:
if 'linux' in sys.platform:
return _doFastPoW(target, initialHash)
else:
return _doSafePoW(target, initialHash)