From 8f81bb62e77d670833123f4577f9eb6b44a88848 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Mon, 19 Sep 2022 13:09:40 +1000 Subject: [PATCH] new season: condor xiv --- cut_races.py | 2 +- cut_sync_race.py | 2 +- docker-compose.jsonnet | 2 +- list_races.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cut_races.py b/cut_races.py index 2bd001b..334b003 100644 --- a/cut_races.py +++ b/cut_races.py @@ -30,7 +30,7 @@ INFO_QUERY = """ def main( output_dir, - host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14', + host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv', base_dir='/srv/wubloader', start_range='0,10', non_interactive=False, restrict_league=None, only_match_id=0, best_effort_no_segments=False, no_start_detect=False, ): diff --git a/cut_sync_race.py b/cut_sync_race.py index 115acbd..067b6c2 100644 --- a/cut_sync_race.py +++ b/cut_sync_race.py @@ -80,7 +80,7 @@ def add_range(base, range): @argh.arg('--time-offset', type=float) def main(match_id, race_number, output_path, - host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14', + host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv', base_dir='/srv/wubloader', start_range="0,10", non_interactive=False, racer=0, time_offset=None, diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 2c7fade..c95dec5 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -93,7 +93,7 @@ dbname: "wubloader", }, - condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/season_14", + condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condorxiv", // Other database arguments db_super_user:: "postgres", // only accessible from localhost diff --git a/list_races.py b/list_races.py index 412a99f..685ec53 100644 --- a/list_races.py +++ b/list_races.py @@ -40,7 +40,7 @@ def ts(dt): return dt.strftime("%FT%T") -def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14'): +def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv'): logging.basicConfig(level=logging.INFO) if password is None: