plugin_name = _("Torrent Search")
plugin_author = "Zach Tibbitts"
plugin_version = "0.5"
plugin_description = _("A searchbar for torrent search engines")


def deluge_init(deluge_path):
    global path
    path = deluge_path


from TorrentSearch.plugin import plugin_Search

def enable(core, interface):
    global path
    return plugin_Search(path, core, interface)
