Permalink
Browse files

Making the construction of the glob pattern more friendly to non-posi…

…x environments.
  • Loading branch information...
1 parent 6edb076 commit 7dfc35bf304bd8df359669b5e4b3ce55c0c09508 Mitch Garnaat committed Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/plugin.py
View
@@ -85,6 +85,6 @@ def load_plugins(config):
if not config.has_option('Plugin', 'plugin_directory'):
return
directory = config.get('Plugin', 'plugin_directory')
- for file in glob.glob(directory + '/*.py'):
+ for file in glob.glob(os.path.join(directory, '*.py')):
_import_module(file)

0 comments on commit 7dfc35b

Please sign in to comment.