~sir-rainbow/+junk/scribes-on-win

« back to all changes in this revision

Viewing changes to SCRIBES/PluginManager.py

  • Committer: goldenmyst
  • Date: 2007-10-29 18:27:12 UTC
  • Revision ID: goldenmyst@goldenmyst-desktop-20071029182712-5fw9ky4530srdgnl
Hopeful final fix for the crash problem

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
                from Exceptions import DuplicatePluginError, DoNotLoadError
92
92
                try:
93
93
                        from operator import not_
94
 
                        if not_(filename.startswith("Plugin") and filename.endswith(".py")): return
 
94
                        if not_(filename.startswith("Plugin") and filename.endswith(".py")): return False
95
95
                        from os import path
96
96
                        filepath = path.join(plugin_folder, filename)
97
97
                        from imp import load_source