From 28e5a9cbc2430ff33ec117ccf9fa6ab9f6e321b3 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Sat, 16 Dec 2023 06:30:12 -0600 Subject: Removed database from repository. New repos will initialize thier own databases. --- play.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'play.py') diff --git a/play.py b/play.py index d0b27b8..4b25e32 100644 --- a/play.py +++ b/play.py @@ -1,3 +1,9 @@ +import subprocess +import os + +if not os.path.exists(os.path.join(os.getcwd(), 'games.db')): + subprocess.run(['python', 'crt_db.py']) + from load_nav import * menu_tree = [None, None, mm_menu] -- cgit v1.2.3