From 7f4fee40fbb5ed42c9b17597a82a6002eb9ef672 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Wed, 5 Jun 2013 23:29:40 +0200 Subject: [PATCH] Removed an extraneous conditional import. --- src/proofofwork.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/proofofwork.py b/src/proofofwork.py index 062fada6..36c5563e 100644 --- a/src/proofofwork.py +++ b/src/proofofwork.py @@ -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)