Litt jobb på card_punch

This commit is contained in:
2022-03-03 15:39:59 +01:00
parent d5b04a1a66
commit 4416ece0a9
2 changed files with 13 additions and 10 deletions

7
dev.py
View File

@@ -21,7 +21,8 @@ if __name__ == "__main__":
event = otime.event(0, 'supercup')
event.import_ttime_cnf('sc_2021_ttime/ttime.cnf.txt')
event.import_ttime_db('sc_2021_ttime/db_eventor.csv')
#event.import_mtr_file('sc_2021_ttime/mtr.csv')
card_punches = otime.card_punch.list_from_mtr_f('sc_2021_ttime/mtr.csv')
event.append_punch_list(card_punches)
event.import_mtr_file('sc_2021_ttime/mtr.csv')
#card_punches = otime.card_punch.list_from_mtr_f('sc_2021_ttime/mtr.csv')
event.append_punch_list(event.card_punches)
event.match_runners_cards()
event.get_xml_res().write('Resultater.xml')