Skip to content

Commit

Permalink
Do pass instead of calling super
Browse files Browse the repository at this point in the history
  • Loading branch information
Subilan committed Apr 24, 2020
1 parent 156cfb0 commit db2b7d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/mono-back/Auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self, username):
cur.execute(sql)
self._password = cur.fetchone()[0]
ins.close()
super().__init__()
pass

@property
def password(self):
Expand Down
2 changes: 1 addition & 1 deletion backend/mono-back/Database.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def __init__(self):
database = "Monologue",
charset = "utf8mb4"
)
super().__init__()
pass

def cursor(self, dict = False):
if (dict):
Expand Down
2 changes: 1 addition & 1 deletion backend/mono-back/User.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class UserManager:
def __init__(self, username):
self.username = username
super().__init__()
pass

def createUser(self, password):
db = DBController()
Expand Down

0 comments on commit db2b7d7

Please sign in to comment.