mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
Unify base class using new-style (object).
This commit is contained in:
@@ -27,7 +27,7 @@ global failed_imports
|
||||
failed_imports = []
|
||||
|
||||
|
||||
class Colors:
|
||||
class Colors(object):
|
||||
PURPLE = '\033[95m'
|
||||
CYAN = '\033[96m'
|
||||
DARKCYAN = '\033[36m'
|
||||
@@ -51,7 +51,7 @@ class Colors:
|
||||
|
||||
|
||||
# prints to screen with a prefix identifying the origin of the print
|
||||
class ScreenLogger:
|
||||
class ScreenLogger(object):
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
@@ -85,7 +85,7 @@ class ScreenLogger:
|
||||
return input("{}{}{}".format(Colors.BG_CYAN, title, Colors.END))
|
||||
|
||||
|
||||
class BaseLogger:
|
||||
class BaseLogger(object):
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user