mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
lint
This commit is contained in:
@@ -24,7 +24,7 @@ class Orders():
|
||||
try:
|
||||
with open(self.config['extra_projects']) as fh:
|
||||
config = yaml.safe_load(fh)
|
||||
except FileNotFoundError as e:
|
||||
except FileNotFoundError:
|
||||
config = []
|
||||
|
||||
config.append({'project': {'url' : git_url, 'timestamp' : time.time()}})
|
||||
@@ -75,7 +75,7 @@ class Orders():
|
||||
|
||||
while after_open_date:
|
||||
refunds = stripe.Refund.list(limit=10, starting_after=start_id)
|
||||
for refund in refunds:
|
||||
for refund in refunds:
|
||||
created = datetime.fromtimestamp(refund['created'])
|
||||
if created < self.open_date:
|
||||
after_open_date = False
|
||||
|
||||
Reference in New Issue
Block a user