Fix synapse.config.__main__ on python 3 (#4356)

This commit is contained in:
Amber Brown 2019-01-08 10:03:09 +11:00 committed by GitHub
parent 26e5abf20d
commit 1dcb086f33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/4356.bugfix Normal file
View file

@ -0,0 +1 @@
Fix `python -m synapse.config` on Python 3.

View file

@ -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]