mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Fix
This commit is contained in:
@@ -132,7 +132,7 @@ def plugins():
|
|||||||
Read the central plugin yaml to get a list of all official plugins
|
Read the central plugin yaml to get a list of all official plugins
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
response = requests.get("https://raw.githubusercontent.com/craftbeerpi/pluginlist/master/plugins.yaml")
|
response = requests.get("https://raw.githubusercontent.com/Manuel83/craftbeerpi-plugins/master/plugins.yaml")
|
||||||
cbpi.cache["plugins"] = merge(yaml.load(response.text), cbpi.cache["plugins"])
|
cbpi.cache["plugins"] = merge(yaml.load(response.text), cbpi.cache["plugins"])
|
||||||
for key, value in cbpi.cache["plugins"].iteritems():
|
for key, value in cbpi.cache["plugins"].iteritems():
|
||||||
value["installed"] = os.path.isdir("./modules/plugins/%s/" % (key))
|
value["installed"] = os.path.isdir("./modules/plugins/%s/" % (key))
|
||||||
@@ -196,7 +196,3 @@ def initPlugins(app):
|
|||||||
def init(cbpi):
|
def init(cbpi):
|
||||||
print "INITIALIZE ADDON MODULE"
|
print "INITIALIZE ADDON MODULE"
|
||||||
cbpi.app.register_blueprint(blueprint, url_prefix='/api/editor')
|
cbpi.app.register_blueprint(blueprint, url_prefix='/api/editor')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user