Fix subsystem count, requires post processing of data from CCP when building the database... this may be fixed by the time it releases, but maybe not, and I don't want to forget about it

This commit is contained in:
blitzmann
2017-07-09 12:17:07 -04:00
parent 307ccd10e8
commit 49b2e42d8c

View File

@@ -243,6 +243,11 @@ def main(db, json_path):
eos.db.gamedata_session.commit()
# CCP still has 5 subsystems assigned to T3Cs, even though only 4 are available / usable. They probably have some
# old legacy requirement or assumption that makes it difficult for them to change this value in the data. But for
# pyfa, we can do it here as a post-processing step
eos.db.gamedata_engine.execute("UPDATE dgmtypeattribs SET value = 4.0 WHERE attributeID = ?", (1367,))
print("done")
if __name__ == "__main__":