From 768b1b5cf6c8160680b703f05ab79b1557353bd8 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 3 Jun 2021 08:40:40 +0200 Subject: [PATCH] removing useless parentheses --- src/utils/db.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/db.py b/src/utils/db.py index 18eb5b2..bc280c8 100644 --- a/src/utils/db.py +++ b/src/utils/db.py @@ -1,7 +1,7 @@ import sqlite3 from pathlib import Path -class Database(): +class Database: def __init__(self): path = Path("src/db/bot.sqlite3").absolute() @@ -21,6 +21,3 @@ class Database(): def createDB(self, path): print("Creating DB...") open(path, "x") - - -Database()