diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-05 15:23:08 -0500 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-05 15:59:53 -0500 |
commit | 7ba057b4d2f8f7ad3735f98f6deacb5d6df0e736 (patch) | |
tree | d53e2e6ab01689051bf150b00cda82a29446489b /pecan/deploy.py | |
parent | 4d18835e9fea93042c965ab0719c222cfcef22b6 (diff) | |
download | pecan-7ba057b4d2f8f7ad3735f98f6deacb5d6df0e736.tar.gz |
Changing `conf.app.modules` and `conf.app.root` to string representations.
Diffstat (limited to 'pecan/deploy.py')
-rw-r--r-- | pecan/deploy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pecan/deploy.py b/pecan/deploy.py index 36218d1..bd7f9d8 100644 --- a/pecan/deploy.py +++ b/pecan/deploy.py @@ -4,7 +4,7 @@ def deploy(config_module_or_path): set_config(config_module_or_path) for module in getattr(conf.app, 'modules'): try: - module_app = import_module('%s.app' % module.__name__) + module_app = import_module('%s.app' % module) if hasattr(module_app, 'setup_app'): return module_app.setup_app(conf) except ImportError: |