Fix dict.keys() in Python 3.

This commit is contained in:
Berker Peksag 2014-08-13 19:27:49 +03:00
parent 4930c2adbd
commit 7df0793441

View File

@ -131,7 +131,7 @@ def run_all_migrations(db, app_config, global_config):
"""
# Gather information from all media managers / projects
dbdatas = gather_database_data(
global_config.get('plugins', {}).keys())
list(global_config.get('plugins', {}).keys()))
Session = sessionmaker(bind=db.engine)