SWDEV-408607: ATT parser rework

Change-Id: Ic180c3e7904bb6e46d9fd9fb4c9a97da503a5a3e
This commit is contained in:
Giovanni LB
2023-06-21 19:49:00 -03:00
committed by Giovanni Baraldi
parent 6dc1066d5d
commit b9b17bfb34
9 changed files with 1182 additions and 850 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ class NoCacheHTTPRequestHandler(http.server.SimpleHTTPRequestHandler):
self.send_header("Expires", "0")
def do_GET(self):
if 'timeline.png?' in self.path:
self.path = 'timeline.png'
if '.png?' in self.path:
self.path = self.path.split('.png?')[0]+'.png'
http.server.SimpleHTTPRequestHandler.do_GET(self)