Update soaputils.py

This commit is contained in:
Gordon Shumway 2019-09-08 09:29:28 -04:00 committed by GitHub
parent 628e57eb04
commit c8e1f8ecd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ def companyValue(companies):
for company in companies.values():
if not company.id == 255:
try:
value += company.economy.history[0].value
value += company.economy.history[0].companyValue
except:
value = 0
try: