mirror of
https://github.com/Zxilly/UA2F.git
synced 2026-01-08 11:24:50 +00:00
test: no override
This commit is contained in:
parent
f275fc305d
commit
7bd875827d
@ -7,7 +7,6 @@ import subprocess
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
from typing import override
|
||||
|
||||
import requests
|
||||
from fake_useragent import UserAgent
|
||||
@ -19,11 +18,9 @@ PORT = 37491
|
||||
|
||||
|
||||
class MyHandler(http.server.SimpleHTTPRequestHandler):
|
||||
@override
|
||||
def log_message(self, format, *args):
|
||||
pass
|
||||
|
||||
@override
|
||||
def do_GET(self):
|
||||
user_agent = self.headers.get('User-Agent')
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user