File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323UpdateUrlBack = "https://github.com/tonquer/JMComic-qt/"
2424
2525UpdateVersion = "v1.3.3"
26- RealVersion = "v1.3.3.1 "
27- VersionTime = "2026-7-6 "
26+ RealVersion = "v1.3.3.2 "
27+ VersionTime = "2026-7-7 "
2828
2929Waifu2xVersion = "2.0.1"
3030LoginUserName = ""
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class Setting:
111111 ProxySelectIndex = SettingValue ("ProxySetting" , 1 , False )
112112 IsOpenDoh = SettingValue ("ProxySetting" , 0 , False )
113113 # IsOpenDohPicture = SettingValue("ProxySetting", 0, False)
114- DohAddress = SettingValue ("ProxySetting" , "https://doh.pub/dns-query " , False )
114+ DohAddress = SettingValue ("ProxySetting" , "https://parse.jpacg.cc/parse " , False )
115115 EnableEch = SettingValue ("ProxySetting" , 0 , False )
116116 IsOpenHTTP3 = SettingValue ("ProxySetting" , 0 , False )
117117
Original file line number Diff line number Diff line change 33import pickle
44import re
55import time
6-
6+ from datetime import timedelta
77
88from config import config
99from config .global_config import GlobalConfig
@@ -1000,7 +1000,11 @@ def __call__(self, task):
10001000 data = {"st" : task .status , "data" : task .res .GetText ()}
10011001 if hasattr (task .res .raw , "elapsed" ):
10021002 if task .res .raw .status_code == 401 or task .res .raw .status_code == 200 :
1003- data ["data" ] = str (task .res .raw .elapsed * 1000 // 4 )
1003+ if isinstance (task .res .raw .elapsed , timedelta ):
1004+ data ["data" ] = str (
1005+ (task .res .raw .elapsed .seconds * 1000 + task .res .raw .elapsed .microseconds / 1000 ) // 4 )
1006+ else :
1007+ data ["data" ] = str (task .res .raw .elapsed * 1000 // 4 )
10041008 else :
10051009 data ["st" ] = Status .Error
10061010 data ["data" ] = "0"
You can’t perform that action at this time.
0 commit comments