Skip to content

Commit

Permalink
MOTD spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
revoxhere authored Jul 11, 2021
1 parent 263f335 commit e99e9eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AVR_Miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ def mine_avr(com, threadid):

soc.send(bytes("MOTD", encoding="ascii"))
motd = soc.recv(1024).decode().rstrip("\n")

if "\n" in motd:
motd = motd.replace("\n", "\n\t\t")

pretty_print("net" + str(threadid),
" MOTD: "
+ Fore.RESET
Expand Down

0 comments on commit e99e9eb

Please sign in to comment.