调整写入tga的格式
This commit is contained in:
parent
6bfc9a796e
commit
dd888e9711
@ -43,7 +43,7 @@ class Mycollect2001(GetFromTga):
|
||||
tga_data['gameid'] = self.gameid
|
||||
tga_data['channelid'] = self.channelid
|
||||
tga_data['date'] = self.date
|
||||
tga_data['#time'] = datetime.datetime.strptime("%Y-%m-%d", self.date)
|
||||
tga_data['#time'] = datetime.datetime.strptime(self.date, "%Y-%m-%d")
|
||||
if data:
|
||||
for line in data:
|
||||
if line:
|
||||
@ -64,7 +64,7 @@ class Mycollect2001(GetFromTga):
|
||||
tga_data['gameid'] = self.gameid
|
||||
tga_data['channelid'] = self.channelid
|
||||
tga_data['date'] = self.date
|
||||
tga_data['#time'] = datetime.datetime.strptime("%Y-%m-%d", self.date)
|
||||
tga_data['#time'] = datetime.datetime.strptime(self.date, "%Y-%m-%d")
|
||||
if data:
|
||||
for line in data:
|
||||
if line:
|
||||
|
Loading…
x
Reference in New Issue
Block a user