maestromusic / maestro

Complex music management application.
GNU General Public License v3.0
2 stars 0 forks source link

Bug in browser search #35

Closed supermihi closed 9 years ago

supermihi commented 9 years ago

Entering the search string 1000 in the browser raises the following exception:

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/home/michael/code/maestro/maestro/utils/worker.py", line 176, in run
    for n in generator:   # ...to give us the chance to abort in between.
  File "/home/michael/code/maestro/maestro/widgets/browser/model.py", line 271, in process
    yield from search.SearchTask(self.criterion, self.domain).process()
  File "/home/michael/code/maestro/maestro/search/__init__.py", line 41, in process
    yield from generator
  File "/home/michael/code/maestro/maestro/search/criteria.py", line 506, in process
    if self.binary:
AttributeError: 'DateCriterion' object has no attribute 'binary'