Пример #1
0
def betcity_dir():
    return cf.getval("dirs", "betcity")
Пример #2
0
def analysis_data_dir():
    return cf.getval("dirs", "analysis_data")
Пример #3
0
def flashscore_dir():
    return cf.getval("dirs", "flashscore")
Пример #4
0
def oncourt_sql_dir():
    return cf.getval("dirs", "oncourt_sql")
Пример #5
0
def interrupt_dir():
    return cf.getval("dirs", "interrupt")
Пример #6
0
def oncourt_players_dir():
    return cf.getval("dirs", "oncourt_players")
Пример #7
0
def ratings_dir():
    return cf.getval("dirs", "ratings")
Пример #8
0
def stat_misc_dir(sex):
    return cf.getval("dirs", sex + "_stat_misc")
Пример #9
0
def bin_dir():
    return cf.getval("dirs", "bin")
Пример #10
0
def unit_test_data_dir():
    return cf.getval("dirs", "unit_test_data")
Пример #11
0
def log_dir():
    return cf.getval("dirs", "log")
Пример #12
0
def stat_tours_root_dir(sex):
    return cf.getval("dirs", sex + "_stat_tours")
Пример #13
0
def stat_players_dir(sex):
    return cf.getval("dirs", sex + "_stat_players")
Пример #14
0
 def tour_name_map_to_oncourt(sex: str, tourname: str):
     section = "{}-tours-map-to-oncourt".format(sex)
     if cf.has_section(section) and cf.has_option(section, tourname):
         return cf.getval(section, tourname)
     return tourname