tradedangerous 12.0.9__py3-none-any.whl → 12.0.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tradedangerous might be problematic. Click here for more details.

@@ -264,7 +264,7 @@ def sqlite_upsert_modified(
264
264
  set_map[modified_col] = getattr(excluded, modified_col)
265
265
 
266
266
  # WHERE guard: only update if incoming is newer (or DB NULL)
267
- where_guard = (getattr(excluded, modified_col) > getattr(table.c, modified_col)) | (
267
+ where_guard = (getattr(excluded, modified_col) >= getattr(table.c, modified_col)) | (
268
268
  getattr(table.c, modified_col).is_(None)
269
269
  )
270
270
 
@@ -348,7 +348,7 @@ def mysql_upsert_modified(
348
348
  inserted = ins.inserted # alias to VALUES()/INSERTED
349
349
 
350
350
  # Guard: newer incoming timestamp or DB is NULL
351
- guard = (inserted[modified_col] > table.c[modified_col]) | (table.c[modified_col].is_(None))
351
+ guard = (inserted[modified_col] >= table.c[modified_col]) | (table.c[modified_col].is_(None))
352
352
 
353
353
  # For each update col, write: IF(guard, inserted.col, table.col)
354
354
  set_map = {
@@ -545,7 +545,7 @@ def age_in_days(session, column: ClauseElement) -> ClauseElement:
545
545
 
546
546
  if dialect == "sqlite":
547
547
  # julianday() returns a fractional day difference (FLOAT).
548
- return func.julianday(func.current_date()) - func.julianday(column)
548
+ return func.julianday() - func.julianday(column)
549
549
 
550
550
  if dialect in ("mysql", "mariadb"):
551
551
  # TIMESTAMPDIFF returns an integer number of DAY boundaries crossed.
tradedangerous/version.py CHANGED
@@ -12,5 +12,5 @@
12
12
  """just keeper of current version"""
13
13
 
14
14
  # TODO: remember to update tests when version changes
15
- __version__ = '12.0.9'
15
+ __version__ = '12.0.10'
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tradedangerous
3
- Version: 12.0.9
3
+ Version: 12.0.10
4
4
  Summary: Trade-Dangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.
5
5
  Home-page: https://github.com/eyeonus/Trade-Dangerous
6
6
  Author: eyeonus
@@ -20,7 +20,7 @@ tradedangerous/tradeenv.py,sha256=FrKAqFQQO5N0jrld9Ie1Tw23PoXxVBpA85n9RyEw2xg,12
20
20
  tradedangerous/tradeexcept.py,sha256=aZ-Y31MbkjF7lmAzBAbaMsPPE7FEEfuf4gaX2GvriDk,368
21
21
  tradedangerous/transfers.py,sha256=mx5bidC8g67ShP3G-1IoWcXjDgMOHH35Kw6qUROcP4Y,6363
22
22
  tradedangerous/utils.py,sha256=PUPvAEqUyxYGqqQa0b_yfLAvq8YVUxK6HfdS-CxM-Lo,5186
23
- tradedangerous/version.py,sha256=QSHsJXXAtwQhEyY53VcLRqfgZQ9vro-qh7HCoUtQgAg,646
23
+ tradedangerous/version.py,sha256=jzVRCd1Kl8htymZmNUu6RY1Ef-adDQKO0Y7Xj7RtaEI,647
24
24
  tradedangerous/commands/TEMPLATE.py,sha256=seMXDN_Nf_Rvj_5BivI-0yhVT6W9iRDihr5yo8kr5qw,2069
25
25
  tradedangerous/commands/__init__.py,sha256=UvcWgcr_PVScbJ6R83iaUb2_4Ttmft85HYexTFo7FwU,9171
26
26
  tradedangerous/commands/buildcache_cmd.py,sha256=WwDRLcVGCWZSM9x2jKpXXj2QRt5RLkvrcHzmZ8UCI_s,3346
@@ -49,7 +49,7 @@ tradedangerous/db/lifecycle.py,sha256=0geThWBjWnJbTSNpxzZ4C5_mya4kO5TsRkLLKt-cXd
49
49
  tradedangerous/db/locks.py,sha256=sBNc5YFpCAxLEGhD6shaHBXJQJlVck9GmU3pg5yc6rk,7896
50
50
  tradedangerous/db/orm_models.py,sha256=ZvPlzA3Xjb4XwyPYOKA7vF7atNmkA6q1SVwDbATphnM,15796
51
51
  tradedangerous/db/paths.py,sha256=sqFiT4dM6Cwyz1yxeGrr6mon9xppaCOZDBu77wJi_Q8,3817
52
- tradedangerous/db/utils.py,sha256=vka8mFUzVi2UF56NyXn9mL7Pa28DLV7O99Kjshog1vg,24333
52
+ tradedangerous/db/utils.py,sha256=rcFX2rdX14ElaoCummuZITTllufjeB-kESbLosI4MpQ,24316
53
53
  tradedangerous/mfd/__init__.py,sha256=g8pT9Ev_le_yOeAF7sr9fUuEi8VW3u9n_qq-xLga1xw,2958
54
54
  tradedangerous/mfd/saitek/__init__.py,sha256=CGgkAik87Kb5uc43G0bBFueD47bb_BydDM8qb7YQLyA,62
55
55
  tradedangerous/mfd/saitek/directoutput.py,sha256=ReBzax7ttoffzH8DLXx0AS2RFLLQWOQUw1ESQUjOMGk,24840
@@ -75,9 +75,9 @@ tradedangerous/templates/Added.csv,sha256=8o54civQCcS9y7_DBo0GX196XWRbbREQqKDYTK
75
75
  tradedangerous/templates/Category.csv,sha256=8xwUDcBZE25T6x6dZGlRUMTCqeDLt3a9LXU5h6hRHV8,250
76
76
  tradedangerous/templates/RareItem.csv,sha256=F1RhRnTD82PiwrVUO-ai2ErGH2PTqNnQaDw5mcgljXs,10483
77
77
  tradedangerous/templates/TradeDangerous.sql,sha256=pCw2Js8GQniqAWC6N3SL-ujyqlLYCeR2-SI-qhk6VsI,9336
78
- tradedangerous-12.0.9.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
79
- tradedangerous-12.0.9.dist-info/METADATA,sha256=fDupwTo4uUzCHwVZ5vWiMBfyXlUqP0uoD5nr1bUfKis,4873
80
- tradedangerous-12.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
81
- tradedangerous-12.0.9.dist-info/entry_points.txt,sha256=lrA7U9JHOcNuam2WEK4Hmc3vQ3mrJfsbJCE74qd9au8,62
82
- tradedangerous-12.0.9.dist-info/top_level.txt,sha256=JEoOVAhg5GfXZ4kHpNontu0RVzek_7P9_jp93f3Pqn8,16
83
- tradedangerous-12.0.9.dist-info/RECORD,,
78
+ tradedangerous-12.0.10.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
79
+ tradedangerous-12.0.10.dist-info/METADATA,sha256=DtIXnhLPct6GsnDKWT5F55dRb322XqjnWmwzgcKwRyY,4874
80
+ tradedangerous-12.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
81
+ tradedangerous-12.0.10.dist-info/entry_points.txt,sha256=lrA7U9JHOcNuam2WEK4Hmc3vQ3mrJfsbJCE74qd9au8,62
82
+ tradedangerous-12.0.10.dist-info/top_level.txt,sha256=JEoOVAhg5GfXZ4kHpNontu0RVzek_7P9_jp93f3Pqn8,16
83
+ tradedangerous-12.0.10.dist-info/RECORD,,