Commit f724139d authored by Jalin's avatar Jalin

修复类型转换错误

parent 454d5b2f
...@@ -154,7 +154,7 @@ class QueryLog(BaseLog): ...@@ -154,7 +154,7 @@ class QueryLog(BaseLog):
self = cls() self = cls()
self.add_log( self.add_log(
'=== 正在进行第 {query_count} 次查询 {job_name} === {time}'.format( '=== 正在进行第 {query_count} 次查询 {job_name} === {time}'.format(
query_count=(self.data.get('query_count', 0)) + 1, query_count=int(self.data.get('query_count', 0)) + 1,
job_name=job_name, time=datetime.datetime.now())) job_name=job_name, time=datetime.datetime.now()))
self.refresh_data() self.refresh_data()
if is_main_thread(): if is_main_thread():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment