Archived
1
0
Fork 0

Update dbutils.py

This commit is contained in:
多羅狼 2023-11-13 13:26:03 +08:00 committed by GitHub
parent 44b789c231
commit a71e9a2493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ class WikiTargetInfo:
@auto_rollback_error
def config_headers(self, headers, let_it: [bool, None] = True):
try:
headers = json.loads(headers)
headers = json.dumps(headers)
headers_ = json.loads(self.query.headers)
if let_it:
for x in headers: