Skip to content
Snippets Groups Projects
Verified Commit 23da835e authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix regex which also caught GZIPped files

parent 8abb8163
Branches
Tags
No related merge requests found
Pipeline #30462 passed
......@@ -90,7 +90,7 @@ def process_log_file(log_file,out_file):
def main():
log_dir = '/logs/'
regexp = '^MSG_(.+)\.log'
regexp = '^MSG_(.+)\.log$'
for file in os.listdir(log_dir):
if (re.match(regexp,file) and (not os.path.exists(log_dir + os.path.splitext(file)[0] + '.png'))):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment