Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
finally fixed this god damn thing
  • Loading branch information
u68 authored Feb 21, 2024
1 parent 86aecac commit 34fb274
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,24 @@ def extract_lines_before_pop_pc(file_path):

def find_matching_strings(list1, list2, list3):
result = []
found = False
for string1 in list1:
match_info = ''
for string3 in list3:
for string2 in list2:
for string2 in list2:
found = False
for string3 in list3:
if string1 in string2:
fstring2 = string2.split(' ')[1]
print(fstring2)
if fstring2 in string3:
extracted_chars = string3[33:39]
formatted_chars = extracted_chars[3:5] + ' ' + extracted_chars[1:3] + ' ' + 'x' + extracted_chars[0] + ' xx'
result.append(formatted_chars)
found = True
break
break
if found: break
else:
result.append(f"No match found for {string1}")
result.append(string1)
return result

def open_rop_file():
Expand Down

0 comments on commit 34fb274

Please sign in to comment.