Remove trailing whitespaces

This commit is contained in:
Leandro Freitas
2016-01-27 14:09:17 -02:00
parent 17a2345675
commit a612ebeaf1
9 changed files with 35 additions and 35 deletions

View File

@@ -16,11 +16,11 @@ if os.path.isdir(dateregex_dir):
sys.path.insert(0, dateregex_dir)
def add_due_date_syntax_highlight():
try:
try:
from dateregex import regex_date_before
except ImportError:
print("dateregex module not found. Overdue dates won't be highlighted")
return
return
regex = regex_date_before(date.today())
regex = r'(^|<)due:%s(>|$)' % regex