Browse Source

12/30/2022

BradDev
Joe DiPrima 3 years ago
parent
commit
b50d6b4bec
  1. 3
      qmutants.py

3
qmutants.py

@ -914,11 +914,12 @@ class mutant(QWidget):
start_index = self.status.index('Ions : ') + 16 start_index = self.status.index('Ions : ') + 16
ions_str = self.status[start_index:] ions_str = self.status[start_index:]
try: try:
end_index = riblets_str.index('Wearing') + 1
end_index = ion_str.index('Wearing') - 1
except: except:
pass pass
ions_str = ions_str[:end_index] ions_str = ions_str[:end_index]
#print(self.status)
print("Ions:" + ions_str) print("Ions:" + ions_str)
try: try:
self.ions = int(ions_str) self.ions = int(ions_str)

Loading…
Cancel
Save