Fix synapse.config.__main__ on python 3 (#4356)
This commit is contained in:
parent
26e5abf20d
commit
1dcb086f33
|
@ -0,0 +1 @@
|
|||
Fix `python -m synapse.config` on Python 3.
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue