Renamed and implemented the print function to print_txt, due to upcoming problems.

This commit is contained in:
Maximilian Giller 2019-02-27 17:13:59 +01:00
parent 9381aeaec1
commit b09e97c93f
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class DebugConsole (DebugInterface):
print('Location: ' + str(forecast.location))
print('Fetch datetime: ' + str(forecast.fetch_datetime))
def print (self, content):
def print_line (self, content):
if content is None:
return
print(str(content))

View file

@ -6,5 +6,5 @@ class DebugInterface (object):
def print_forecast (self, forecast):
raise NotImplementedError("Functions needs to be implemented")
def print (self, content):
def print_line (self, content):
raise NotImplementedError("Functions needs to be implemented")