diff options
Diffstat (limited to 'mediagoblin/gmg_commands/alembic_commands.py')
-rw-r--r-- | mediagoblin/gmg_commands/alembic_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/alembic_commands.py b/mediagoblin/gmg_commands/alembic_commands.py index f5f982d1..0b22bce6 100644 --- a/mediagoblin/gmg_commands/alembic_commands.py +++ b/mediagoblin/gmg_commands/alembic_commands.py @@ -35,7 +35,7 @@ class FudgedCommandLine(config.CommandLine): plugins = global_config.get('plugins', {}).keys() for plugin in plugins: try: - import_component('{}.models:MODELS'.format(plugin)) + import_component(f'{plugin}.models:MODELS') except ImportError: # It doesn't really matter if there's no models to import # here. |