|
|
|
@ -827,9 +827,6 @@ class mutant(QWidget): |
|
|
|
if result.find(">") != -1: |
|
|
|
#Retally items, convert extras |
|
|
|
if not self.stat_parsed and self.status != "": |
|
|
|
#print("status_length",str(len(self.status))) |
|
|
|
#print(self.sell_list) |
|
|
|
#print("deleted list") |
|
|
|
self.sell_list = [] |
|
|
|
self.stock_list = [] |
|
|
|
self.watchdog = 0 |
|
|
|
@ -915,14 +912,14 @@ class mutant(QWidget): |
|
|
|
#scrape ions |
|
|
|
if self.status.find("Ions : ") != -1: |
|
|
|
start_index = self.status.index('Ions : ') + 16 |
|
|
|
ions_str = self.status[start_index:] |
|
|
|
ions_str = self.status[start_index:] |
|
|
|
try: |
|
|
|
end_index = riblets_str.index('Wearing') |
|
|
|
end_index = riblets_str.index('Wearing') + 1 |
|
|
|
except: |
|
|
|
pass |
|
|
|
|
|
|
|
ions_str = ions_str[:end_index] |
|
|
|
#print("Riblets:" + riblets_str) |
|
|
|
print("Ions:" + ions_str) |
|
|
|
try: |
|
|
|
self.ions = int(ions_str) |
|
|
|
except: |
|
|
|
|