From e556881560d47d1ac79034da99253f1c9c84c92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Tue, 10 Oct 2017 12:22:58 +0200 Subject: Added setup.py file for easy installation --- mensa/logic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mensa') diff --git a/mensa/logic.py b/mensa/logic.py index b0165f0..d2851d5 100755 --- a/mensa/logic.py +++ b/mensa/logic.py @@ -5,10 +5,9 @@ import urllib.error import os from yapsy.PluginManager import PluginManager - def init_foodsources(): backends = PluginManager() - backends.setPluginPlaces([os.path.join(os.path.dirname(os.path.realpath(__file__)),"backends")]) + backends.setPluginPlaces([os.path.join(os.path.dirname(os.path.realpath(__file__)),"backends")]) backends.collectPlugins() for pluginInfo in backends.getAllPlugins(): backends.activatePluginByName(pluginInfo.name) -- cgit v1.2.3