X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/3378afcd273524b5cb88b1245ff14b786e968ab8..06d7275867f5737235100f50f3ad7d5ec2f526fc:/lib/python/Plugins/newplugin.py diff --git a/lib/python/Plugins/newplugin.py b/lib/python/Plugins/newplugin.py old mode 100644 new mode 100755 index 48bb28ea..32c7269d --- a/lib/python/Plugins/newplugin.py +++ b/lib/python/Plugins/newplugin.py @@ -101,8 +101,8 @@ for where in targetlist: importlist.append(where[0]) file.write("""from Screens.Screen import Screen -from Plugins.Plugin import PluginDescriptor, %s -""" % ', '.join(importlist)) +from Plugins.Plugin import PluginDescriptor +""") mainlist = [] for count in range(len(targetlist)): @@ -137,7 +137,7 @@ def Plugins(**kwargs): file.close() makefile = open(pluginpath + "/Makefile.am", "w") -makefile.write("""installdir = $(LIBDIR)/enigma2/python/Plugins/%s/%s +makefile.write("""installdir = $(pkglibdir)/python/Plugins/%s/%s install_PYTHON = \\ __init__.py \\