Skip to content

Commit

Permalink
Mii mining fixes
Browse files Browse the repository at this point in the history
Credits to NH crc
  • Loading branch information
lifehackerhansol committed Dec 29, 2021
1 parent 61ef81a commit 5ceb4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seedminer/seedminer_launcher3.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ def mii_gpu(year = 0, model = None):
command = "{} rws".format(init_command)
subprocess.call(command.split())
else:
command = "{} sws sm".format(init_command)
command = "{} sws".format(init_command)
proc = subprocess.call(command.split())
if proc == 251 or proc == 4294967291: # Help wanted for a better way of catching an exit code of '-5'
time.sleep(3) # Just wait a few seconds so we don't burn out our graphics card
subprocess.call("{} rws sm".format(init_command).split())
subprocess.call("{} rws".format(init_command).split())


def generate_part2():
Expand Down

0 comments on commit 5ceb4cf

Please sign in to comment.