Starta på event manager
This commit is contained in:
parent
ec9f9338fa
commit
b62661c339
19
event_mgr.py
Normal file
19
event_mgr.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
import otime
|
||||||
|
import pickle
|
||||||
|
from config import config
|
||||||
|
from rich import print
|
||||||
|
from rich import inspect
|
||||||
|
from rich.console import Console
|
||||||
|
from rich.columns import Columns
|
||||||
|
from rich.table import Table
|
||||||
|
|
||||||
|
def main():
|
||||||
|
event = otime.event(0, config['event_name'])
|
||||||
|
event.import_ttime_cnf('/home/trygve/Documents/sprintcup040330/sprintcup040330.cnf')
|
||||||
|
event.import_ttime_db(config['db_file'])
|
||||||
|
event.import_mtr_file('/home/trygve/Documents/sprintcup040330/sprintcup040330.log')
|
||||||
|
event.match_runners_cards()
|
||||||
|
event.get_xml_res().write(config['xml_res_file'])
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
Loading…
Reference in New Issue
Block a user