removing useless parentheses

This commit is contained in:
Mylloon 2021-06-03 08:40:40 +02:00
parent 3bb98edef4
commit 768b1b5cf6

View file

@ -1,7 +1,7 @@
import sqlite3 import sqlite3
from pathlib import Path from pathlib import Path
class Database(): class Database:
def __init__(self): def __init__(self):
path = Path("src/db/bot.sqlite3").absolute() path = Path("src/db/bot.sqlite3").absolute()
@ -21,6 +21,3 @@ class Database():
def createDB(self, path): def createDB(self, path):
print("Creating DB...") print("Creating DB...")
open(path, "x") open(path, "x")
Database()