1
0

Merge exchange_rate plugin with main code

* fixes #2037 (tab indexes)
This commit is contained in:
ThomasV
2017-01-03 09:02:26 +01:00
parent 21e3bb7939
commit 13678d9e13
12 changed files with 246 additions and 365 deletions

View File

@@ -63,6 +63,9 @@ class Plugins(DaemonThread):
def load_plugins(self):
for loader, name, ispkg in pkgutil.iter_modules([self.pkgpath]):
# do not load deprecated plugins
if name in ['plot', 'exchange_rate']:
continue
m = loader.find_module(name).load_module(name)
d = m.__dict__
gui_good = self.gui_name in d.get('available_for', [])