Skip to content

Commit

Permalink
πŸ”Š even more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyspowell committed Jun 11, 2021
1 parent dfbb5d8 commit 3ff055f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion load.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


this = sys.modules[__name__] # For holding module globals
this.VersionNo = "5.9.14"
this.VersionNo = "5.9.15"
this.FactionNames = []
this.TodayData = {}
this.YesterdayData = {}
Expand Down Expand Up @@ -369,6 +369,8 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
# Add to sqlite starsystem info
starsystem = entry["StarSystem"]
systemaddress = entry["SystemAddress"]
logger.debug("do we have the right data to add the system")
logger.debug(f"System address {systemaddress} star system {starsystem}")
logger.debug("Check and add system if required")
cur.execute("SELECT COUNT(*) from systems where systemaddress=?", (int(systemaddress)))
rows = cur.fetchone()
Expand Down

0 comments on commit 3ff055f

Please sign in to comment.