Skip to content

Commit 0e965eb

Browse files
authored
Update TelemetryPatch.py
Clear error logs before each ping requests
1 parent aeb9d8c commit 0e965eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t5de/patches/python/TelemetryPatch.py

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def __init__(self):
1515
self.register('TELEMETRY_8', 'main/SendIMVULogs.py', r'def send')
1616
self.register('TELEMETRY_9', 'main/SendIMVULogs.py', r'def send_internal')
1717
self.register('TELEMETRY_10', 'imvu/account.py', r'fingerprint\.deviceFingerprint\(\)')
18+
self.register('TELEMETRY_11', 'imvu/log.py', r'def getRecords')
1819

1920
def patch(self, context):
2021
if context.pattern == 'TELEMETRY_1':
@@ -50,3 +51,6 @@ def patch(self, context):
5051
fingerprint = 'RlB2NFVFTTZWMmx1Wkc5M2N6b3lMalV1TVM0ekxqQTZPam89'
5152
context.write('data = base64.b64decode(\'{}\').decode(\'utf-8\')'.format(fingerprint), indent=2)
5253
context.write('si[\'bluecava_fingerprint\'] = data', indent=2)
54+
elif context.pattern == 'TELEMETRY_11':
55+
context.write(context.line)
56+
context.write('self.clearRecords()', indent=2)

0 commit comments

Comments
 (0)