def on_exit():
    Shared.backup_files()
    Leaderboard.pickle_stats()
    Leaderboard.pickle_player_countries()
    Shared.pickle_blacklisted_users()

    print("Exiting...")
Ejemplo n.º 2
0
async def backup_data():
    Shared.player_fc_pickle_dump()
    Shared.backup_files(Shared.backup_file_list)
Ejemplo n.º 3
0
async def backup_data():
    Shared.player_fc_pickle_dump()
    RestrictedFilter.settings_pickle_dump()
    Shared.backup_files(Shared.backup_file_list)
async def backup():
    Shared.backup_files(Shared.backup_file_list)
    Leaderboard.pickle_stats()
    Leaderboard.pickle_player_countries()
    Shared.pickle_blacklisted_users()