Commit b37d78c5 authored by Svetlana Tkachenko's avatar Svetlana Tkachenko
Browse files

Name plugintools consistently (it is not pluginloader)

parent 17f65f8a
......@@ -144,7 +144,7 @@ optional arguments:
list1 = os.listdir(self.homedir + "/plugins")
list2 = [item.replace(".py", "") for item in list1 if not '__' in item]
print("Available plugins are: " + " ".join(list2))
self.set(currentNetwork, "plugins", "What plugins will I load on startup (comma-separated, no spaces)?", "auth,printer,pluginloader,ping_server")
self.set(currentNetwork, "plugins", "What plugins will I load on startup (comma-separated, no spaces)?", "auth,printer,plugintools,ping_server")
another_server = self.my_raw("All done with " + currentNetwork + ". Add another server? (yes/no)", "no").lower()
while another_server != "yes" and another_server != "y" and another_server != "no" and another_server != "n":
......
......@@ -22,7 +22,7 @@ import sys
@plugin
class PluginLoader(object):
class Plugintools(object):
def __init__(self, server):
self.server = server
self.server.pluginManager.loadPlugin("Auth")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment