Fixes indentation and removes extra whitespaces

This commit is contained in:
Georgi Kirichkov 2016-10-18 10:59:30 +03:00
parent 3744a075c3
commit 605abfdebb

View File

@ -143,7 +143,7 @@ class SmartPlug(object):
response["emeter"]["get_realtime"].pop('err_code', None)
return response["emeter"]["get_realtime"]
def get_emeter_daily(self, year = datetime.datetime.now().year, month = datetime.datetime.now().month):
def get_emeter_daily(self, year=datetime.datetime.now().year, month=datetime.datetime.now().month):
"""Gets daily statistics for a given month.
Arguments:
@ -170,7 +170,7 @@ class SmartPlug(object):
return data
def get_emeter_monthly(self, year = datetime.datetime.now().year):
def get_emeter_monthly(self, year=datetime.datetime.now().year):
"""Gets monthly statistics for a given year.
Arguments: