mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-03 15:59:57 -05:00
Fix synapse.config.__main__ on python 3 (#4356)
This commit is contained in:
parent
26e5abf20d
commit
1dcb086f33
1
changelog.d/4356.bugfix
Normal file
1
changelog.d/4356.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix `python -m synapse.config` on Python 3.
|
@ -16,7 +16,7 @@ from synapse.config._base import ConfigError
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import sys
|
import sys
|
||||||
from homeserver import HomeServerConfig
|
from synapse.config.homeserver import HomeServerConfig
|
||||||
|
|
||||||
action = sys.argv[1]
|
action = sys.argv[1]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user