1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

Fixed inline comments using tabs for separation

Two spaces after tabs, according to flake8
This commit is contained in:
A_D 2020-07-10 05:23:33 +02:00
parent 7879a803e1
commit 9581ead7cc
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -115,7 +115,7 @@ def export(data, filename=None):
name = module['name']
if name == 'Frame Shift Drive':
fsd = module # save for range calculation
fsd = module # save for range calculation
if mods.get('OutfittingFieldType_FSDOptimalMass'):
fsd['optmass'] *= mods['OutfittingFieldType_FSDOptimalMass']['value']
@ -141,8 +141,8 @@ def export(data, filename=None):
if __debug__:
print('EDShipyard: %s' % e)
continue # Silently skip unrecognized modules
continue # Silently skip unrecognized modules
except Exception:
if __debug__:
raise
@ -190,7 +190,7 @@ def export(data, filename=None):
if oldfiles:
with open(join(config.get('outdir'), oldfiles[-1]), 'rU') as h:
if h.read() == string:
return # same as last time - don't write
return # same as last time - don't write
# Write
filename = join(config.get('outdir'), '%s.%s.txt' % (ship, time.strftime('%Y-%m-%dT%H.%M.%S', time.localtime(querytime))))