Fix two bugs : don't break on logs < last_access and -1 missed for cur day CSS
This commit is contained in:
4
iwla.py
4
iwla.py
@@ -366,7 +366,7 @@ class IWLA(object):
|
||||
if week_day == 5 or week_day == 6:
|
||||
days.setRowCSSClass(i-1, 'iwla_weekend')
|
||||
if adate == date.today():
|
||||
css = days.getCellCSSClass(i, 0)
|
||||
css = days.getCellCSSClass(i-1, 0)
|
||||
if css: css = '%s %s' % (css, 'iwla_curday')
|
||||
else: css = 'iwla_curday'
|
||||
days.setCellCSSClass(i-1, 0, css)
|
||||
@@ -616,7 +616,7 @@ class IWLA(object):
|
||||
|
||||
if groups:
|
||||
if not self._newHit(groups.groupdict()):
|
||||
break
|
||||
continue
|
||||
else:
|
||||
print "No match for " + l
|
||||
#break
|
||||
|
||||
Reference in New Issue
Block a user