diff --git a/plugins/currency/bitcoin/btcguild_hashrate_ b/plugins/currency/bitcoin/btcguild_hashrate_ index 25e9f2a0..edae22ea 100755 --- a/plugins/currency/bitcoin/btcguild_hashrate_ +++ b/plugins/currency/bitcoin/btcguild_hashrate_ @@ -7,7 +7,7 @@ import urllib2 import json URL = 'https://www.btcguild.com/api.php?api_key=' -API_KEY = sys.argv[0][(sys.argv[0].rfind('_')+1):] +API_KEY = sys.argv[0][(sys.argv[0].rfind('_')+1):] STATS = URL + API_KEY @@ -17,8 +17,8 @@ command = '' if len(sys.argv) > 1: command = sys.argv[1] -header = {'User-Agent':'Mozilla/5.0'} -request = urllib2.Request(STATS,headers=header) +header = {'User-Agent': 'Mozilla/5.0'} +request = urllib2.Request(STATS, headers=header) mining_stats_raw = urllib2.urlopen(request) mining_stats = json.load(mining_stats_raw) workers = mining_stats['workers'] @@ -38,4 +38,3 @@ for worker in workers: hash_rate = workers[worker]['hash_rate'] label = workers[worker]['worker_name'] print label + ".value %d" % int(hash_rate) - diff --git a/t/test-exception-wrapper.expected-failures b/t/test-exception-wrapper.expected-failures index b14a17ad..3c347618 100644 --- a/t/test-exception-wrapper.expected-failures +++ b/t/test-exception-wrapper.expected-failures @@ -58,7 +58,6 @@ plugins/cpu/cpuutil plugins/cpu/multicpu1sec plugins/cpu/process_count plugins/cpu/process_cpushare -plugins/currency/bitcoin/btcguild_hashrate_ plugins/currency/bitcoin/slush_hashrate_ plugins/currency/bitcoin/slush_reward_ plugins/currency/ethereum/ethermine_hashrate_