Commit 51180fa3 by Daniel Hokka Zakrisson

Merge pull request #1900 from bostrick/devel

protect PluginLoader._extra_dirs from appending None
parents a117944d 2b3d6d45
......@@ -70,6 +70,7 @@ class PluginLoader(object):
def add_directory(self, directory):
"""Adds an additional directory to the search path"""
if directory is not None:
self._extra_dirs.append(directory)
def print_paths(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment