1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-05-28 22:29:27 +03:00

removed old code

This commit is contained in:
A_D 2022-01-25 15:18:23 +02:00
parent 10824250e1
commit ec6f333cfa
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -45,12 +45,6 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
case _:
data = data_raw.decode('utf-8', errors='replace')
if self.headers.get('Content-Encoding') == 'gzip':
data = gzip.decompress(data_raw).decode('utf-8', errors='replace')
else:
data = data_raw.decode('utf-8', errors='replace')
to_save = data
target_path = self.path