added char_xml download

fix bad call in luclient.get_lot_name
Don't show rank for rank 0
fixes
This commit is contained in:
Aaron Kimbre
2022-02-02 21:18:21 -06:00
parent 3df9f143ed
commit 0066e0ea2d
6 changed files with 46 additions and 8 deletions

View File

@@ -233,7 +233,7 @@ def register_luclient_jinja_helpers(app):
@app.template_filter('get_lot_name')
def get_lot_name(lot_id):
name = translate_from_locale(f'Objects_{lot_id}_name')
if name == translate_from_locale(f'Objects_{lot_id}_name'):
if name == f'Objects_{lot_id}_name':
intermed = query_cdclient(
'select * from Objects where id = ?',
[lot_id],