aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/dbupdate.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r--mediagoblin/gmg_commands/dbupdate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py
index 12329b54..67fdd69c 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -111,7 +111,7 @@ def run_dbupdate(app_config, global_config):
# Gather information from all media managers / projects
dbdatas = gather_database_data(
app_config['media_types'],
- global_config['plugins'].keys())
+ global_config.get('plugins', {}).keys())
# Set up the database
connection, db = setup_connection_and_db_from_config(app_config)