Skip to content

Commit

Permalink
Update AVR_Miner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
revoxhere authored Jul 1, 2021
1 parent d83dda4 commit 7a0234e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions AVR_Miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def greeting():
+ get_string('algorithm')
+ Style.BRIGHT
+ Fore.YELLOW
+ 'DUCO-S1A @ AVR diff')
+ 'DUCO-S1A AVR diff')

if rig_identifier != "None":
print(
Expand Down Expand Up @@ -761,6 +761,7 @@ def mine_avr(com):
global node_address
global node_port
errorCounter = 0
result = None
while True:
soc = connect()

Expand Down Expand Up @@ -1172,11 +1173,13 @@ def mine_avr(com):


if __name__ == '__main__':
# Unicode fix for windows
if osname == "nt":
# Unicode fix for windows
ossystem("chcp 65001")
# Colorama
init(autoreset=True)
# Colorama
init(autoreset=True, convert=True)
else:
init(autoreset=True)
# Window title
title(get_string('duco_avr_miner') + str(MINER_VER) + ')')

Expand Down

0 comments on commit 7a0234e

Please sign in to comment.