new season who dis

condor-scripts
Mike Lang 9 months ago
parent 8f81bb62e7
commit a3f0376a10

@ -30,7 +30,7 @@ INFO_QUERY = """
def main( def main(
output_dir, output_dir,
host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv', host='condor.live', user='necrobot-read', password='necrobot-read', database='condor15',
base_dir='/srv/wubloader', start_range='0,10', non_interactive=False, restrict_league=None, 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, only_match_id=0, best_effort_no_segments=False, no_start_detect=False,
): ):

@ -80,7 +80,7 @@ def add_range(base, range):
@argh.arg('--time-offset', type=float) @argh.arg('--time-offset', type=float)
def main(match_id, race_number, output_path, def main(match_id, race_number, output_path,
host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv', host='condor.live', user='necrobot-read', password='necrobot-read', database='condor15',
base_dir='/srv/wubloader', base_dir='/srv/wubloader',
start_range="0,10", non_interactive=False, racer=0, start_range="0,10", non_interactive=False, racer=0,
time_offset=None, time_offset=None,

@ -93,7 +93,7 @@
dbname: "wubloader", dbname: "wubloader",
}, },
condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condorxiv", condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condor15",
// Other database arguments // Other database arguments
db_super_user:: "postgres", // only accessible from localhost db_super_user:: "postgres", // only accessible from localhost

@ -40,7 +40,7 @@ def ts(dt):
return dt.strftime("%FT%T") return dt.strftime("%FT%T")
def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv'): def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='condor15'):
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
if password is None: if password is None:

Loading…
Cancel
Save