Hi, I try to execute the NavSysPathsUpdate.py on my Ue4.21 but I have a SynstaxError on line 184 :
def find_changes(full_file_path):
changes = []
file = open(full_file_path, 'r', encoding='utf-8')
try:
lines = file.readlines()
except UnicodeDecodeError as e:
#print('Failed to parse {} ({})'.format(full_file_path, e))
lines = []
file.close()
is_engine_code = (re.search(engine_code_pattern, full_file_path) is not None)
line_number = 0
for line in lines:
line_number += 1
change = check_line(line, is_engine_code)
if change:
changes.append((line_number, *change)) <----------- this line
return changes
Anyone can Help me ?