summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/4356.bugfix1
-rw-r--r--synapse/config/__main__.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/4356.bugfix b/changelog.d/4356.bugfix
new file mode 100644
index 0000000000..321eb05652
--- /dev/null
+++ b/changelog.d/4356.bugfix
@@ -0,0 +1 @@
+Fix `python -m synapse.config` on Python 3.
diff --git a/synapse/config/__main__.py b/synapse/config/__main__.py
index 79fe9c3dac..fca35b008c 100644
--- a/synapse/config/__main__.py
+++ b/synapse/config/__main__.py
@@ -16,7 +16,7 @@ from synapse.config._base import ConfigError
 
 if __name__ == "__main__":
     import sys
-    from homeserver import HomeServerConfig
+    from synapse.config.homeserver import HomeServerConfig
 
     action = sys.argv[1]