add gitignore + ignore pycache dir for plugins

This commit is contained in:
jopohl
2016-11-20 20:32:12 +01:00
parent 7381ca84ce
commit 081b1e590b
2 changed files with 9 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
# C extensions
*.so
# Pycharm
.idea/
tests/data/URHProject.xml

View File

@@ -35,6 +35,8 @@ class PluginManager(object):
settings = constants.SETTINGS
for d in plugin_dirs:
if d == "__pycache__":
continue
try:
class_module = self.load_plugin(d)
plugin = class_module()