mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-21 08:24:00 +01:00
Remove sleep from forced wanted album search
This commit is contained in:
@@ -271,7 +271,6 @@ class WebInterface(object):
|
|||||||
def forceSearch(self):
|
def forceSearch(self):
|
||||||
from headphones import searcher
|
from headphones import searcher
|
||||||
threading.Thread(target=searcher.searchforalbum).start()
|
threading.Thread(target=searcher.searchforalbum).start()
|
||||||
time.sleep(5)
|
|
||||||
raise cherrypy.HTTPRedirect("home")
|
raise cherrypy.HTTPRedirect("home")
|
||||||
forceSearch.exposed = True
|
forceSearch.exposed = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user