Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2014-01-18 23:19:32 (GMT)
committer Walter Bender <walter@sugarlabs.org>2014-01-18 23:19:32 (GMT)
commit4ccfd8cb17e6550c3b489f6ba0367f80642a14be (patch)
tree6d01eb45a251274370b27347038d49baf101db8f
parent36f6b06f4d42c4b960ced9abba13371372c0d1cc (diff)
check to make sure homepath exists
-rw-r--r--TurtleArt/tawindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index d5948f2..f455f8d 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -387,7 +387,7 @@ class TurtleArtWindow():
homepath = os.path.join(os.path.expanduser('~'), 'Activities',
os.path.basename(self.path), _PLUGIN_SUBPATH)
paths = [self._get_plugin_home()]
- if paths[0] != homepath:
+ if paths[0] != homepath and os.path.exists(homepath):
paths.append(homepath)
plist = self._get_plugins_from_plugins_dir(paths)
for plugin in plist: