Skip to content
Snippets Groups Projects
Commit 2007672d authored by Carlos Vega's avatar Carlos Vega
Browse files

changed log to debug instead of warn

parent bdefa62d
No related branches found
No related tags found
1 merge request!171Feature/daily availability
...@@ -170,7 +170,7 @@ class OfficeAvailability(object): ...@@ -170,7 +170,7 @@ class OfficeAvailability(object):
fig = plt.figure() #create new figure. This should ensure thread safe method fig = plt.figure() #create new figure. This should ensure thread safe method
ax=fig.gca() #get current axes ax=fig.gca() #get current axes
matplotlib.rcParams['hatch.linewidth'] = 1 matplotlib.rcParams['hatch.linewidth'] = 1
logger.warn('business_hours: {} {}'.format(self.office_start, self.office_end)) logger.debug('business_hours: {} {}'.format(self.office_start, self.office_end))
business_hours = self.business_hours = pd.Series(index=self.range, data=0) business_hours = self.business_hours = pd.Series(index=self.range, data=0)
mask = business_hours.between_time(self.office_start, self.office_end).index mask = business_hours.between_time(self.office_start, self.office_end).index
business_hours[mask] = 1 business_hours[mask] = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment