Beispiel #1
0
def Search(query, color=None, font=None):
    static = "/media/mark/Storage/python/Launcher/current/plugins/plugins/"
    s = str(open("{}plugins.html".format(static), "r").read())
    rep = Plugins.Repo()
    plugins = rep.getFirst50()
    t = Template(s)
    return t.render(font=font,
                    static="file://{}".format(static),
                    plugins=plugins)
Beispiel #2
0
 def run(self):
     rep = Plugins.Repo()
     rep.removePlugin(str(self.plugin))
     QApplication.processEvents()