create baseclass Database and create new ClientDatabase alongside renamed ServerDatabase class, table construction

This commit is contained in:
Xevion
2021-01-26 12:00:24 -06:00
parent ce0c17b827
commit b9df9a9ae6
4 changed files with 43 additions and 19 deletions

View File

@@ -8,7 +8,8 @@ __BASE_DIR = os.path.dirname(os.path.abspath(__file__))
HEADER_LENGTH = 10
MINIMUM_CONTRAST = 4.65
DATABASE = os.path.join(__BASE_DIR, 'messages.db')
CLIENT_DATABASE = os.path.join(__BASE_DIR, 'client.db')
SERVER_DATABASE = os.path.join(__BASE_DIR, 'server.db')
DEFAULT_IP = "127.0.0.1"
DEFAULT_PORT = 5555