0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 17:53:51 +01:00

Fix synapse/storage/schema/delta/30/as_users.py

This commit is contained in:
Mark Haines 2016-05-31 17:10:40 +01:00
parent c9ca285d33
commit c8c5bf950a

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import logging import logging
from synapse.storage.appservice import ApplicationServiceStore from synapse.config.appservice import load_appservices
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -38,7 +38,7 @@ def run_upgrade(cur, database_engine, config, *args, **kwargs):
logger.warning("Could not get app_service_config_files from config") logger.warning("Could not get app_service_config_files from config")
pass pass
appservices = ApplicationServiceStore.load_appservices( appservices = load_appservices(
config.server_name, config_files config.server_name, config_files
) )