log list setter
This commit is contained in:
parent
285a3b6de0
commit
f802ddccc7
|
|
@ -997,6 +997,11 @@ class logger:
|
|||
return []
|
||||
|
||||
|
||||
def set_log_list_max_length(self, amount):
|
||||
self.log_list_max_length = amount
|
||||
return self.log_list_max_length
|
||||
|
||||
|
||||
def get_log_list(self):
|
||||
return self.log_list
|
||||
|
||||
|
|
|
|||
|
|
@ -24,4 +24,4 @@ connection.close()
|
|||
|
||||
for line in deals[::-1]:
|
||||
human_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(line[0])))
|
||||
print(human_time,line[1],round(line[2],2),line[3])
|
||||
print(human_time,line[1],round(line[2],2),line[3])
|
||||
|
|
|
|||
Loading…
Reference in New Issue