Bitcoin Forum
May 13, 2024, 08:53:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Hardware / Re: PiMiner - DIY mining controller/monitor with Raspberry Pi [v1.1] on: February 03, 2014, 07:47:58 PM
To resolve the 'MHS av' 'MHS av' problem edit the file PiMinerInfo.py ...

nano PiMinerInfo.py

Change line 143 which shows

      s2 = 'avg:%s' % self.hashrate(float(d['MHS av']))
      return [s1, s2]


to this

      if ('MHS av' in d):
            s2 = 'avg:%s' % self.hashrate(float(d['MHS av']))
      else:
            s2 = 'avg GHs:%s' % float(d['GHS av'])
      return [s1, s2]
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!