Renamed and implemented the print function to print_txt, due to upcoming problems.
This commit is contained in:
parent
9381aeaec1
commit
b09e97c93f
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class DebugConsole (DebugInterface):
|
||||||
print('Location: ' + str(forecast.location))
|
print('Location: ' + str(forecast.location))
|
||||||
print('Fetch datetime: ' + str(forecast.fetch_datetime))
|
print('Fetch datetime: ' + str(forecast.fetch_datetime))
|
||||||
|
|
||||||
def print (self, content):
|
def print_line (self, content):
|
||||||
if content is None:
|
if content is None:
|
||||||
return
|
return
|
||||||
print(str(content))
|
print(str(content))
|
|
@ -6,5 +6,5 @@ class DebugInterface (object):
|
||||||
def print_forecast (self, forecast):
|
def print_forecast (self, forecast):
|
||||||
raise NotImplementedError("Functions needs to be implemented")
|
raise NotImplementedError("Functions needs to be implemented")
|
||||||
|
|
||||||
def print (self, content):
|
def print_line (self, content):
|
||||||
raise NotImplementedError("Functions needs to be implemented")
|
raise NotImplementedError("Functions needs to be implemented")
|
Loading…
Reference in a new issue