Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add end_formatted missing

  • Loading branch information...
commit 03454d58b498eeab5f9c348b54d396e8eafe401b 1 parent 567d4f1
@ChauChicken authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugin-src/tracadvsearch/backend.py
View
4 plugin-src/tracadvsearch/backend.py
@@ -148,6 +148,10 @@ def _date_from_range(self, start, end):
start_formatted = self._format_date(start)
else:
start_formatted = "*"
+ if end:
+ end_formatted = self._format_date(end)
+ else:
+ end_formatted = "*"
return "[%s TO %s]" % (start_formatted, end_formatted)
def _format_date(self, date_string, default="*"):
Please sign in to comment.
Something went wrong with that request. Please try again.