Files
CouchPotatoServer/couchpotato/core/plugins/browser
Michael J. Cohen e99cf6757e Throw a useful error in the log when FileBrowser fails to load because of missing pywin32
This is a quick hack so that anyone else who runs this from source doesn't have to spend
the time I spent tracking down why directory.list failed silently.

There are two options that are much cleaner that come to mind:

- Subclass ImportException so as to differentiate missing requirements from
  parse errors etc.
- Provide a method for plugins to list their requirements, so that
  the loader can be the one to use imp.find_module().

Using imp.find_module() seems wise, either way.
2012-04-03 20:35:25 -04:00
..
2011-04-17 23:36:23 +02:00