From 24e2db68ce13e395f38aef59b14f20b3c3760576 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 19 Aug 2019 10:42:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mytask/tga.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mytask/tga.py b/mytask/tga.py index fde9c67..0607f28 100644 --- a/mytask/tga.py +++ b/mytask/tga.py @@ -22,10 +22,7 @@ class GetFromTga: g = GetTgaConfig() item = g.get_api_key(self.gameid) self.url = item['url'] - if is_debug: - self.tgaid = 1234 - else: - self.tgaid = item['tgaid'] + self.tgaid = 9999 self.suffix = item.get('suffix', 0) self.api_key = item.get('api_key', None) self.tga = FromTga(self.url, self.api_key)