From ca170b86e0ee75dee8aee1a9eaa6c6074b3db16e Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Thu, 19 May 2022 12:14:30 -0400 Subject: [PATCH] Change naming of servers stats to generic name --- app/classes/models/server_stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/classes/models/server_stats.py b/app/classes/models/server_stats.py index b0b89a2e..51ea57d1 100644 --- a/app/classes/models/server_stats.py +++ b/app/classes/models/server_stats.py @@ -76,7 +76,7 @@ class HelperServerStats: db_folder = os.path.join(f"{server['path']}", "db_stats") db_file = os.path.join( db_folder, - f"{server['server_name']}" + ".sqlite", + "crafty_server_stats.sqlite", ) database = SqliteDatabase( db_file, pragmas={"journal_mode": "wal", "cache_size": -1024 * 10} @@ -109,7 +109,7 @@ class HelperServerStats: db_file = os.path.join( f"{server['path']}", "db_stats", - f"{server['server_name']}" + ".sqlite", + "crafty_server_stats.sqlite", ) database = SqliteDatabase( db_file, pragmas={"journal_mode": "wal", "cache_size": -1024 * 10}