mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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…
Reference in New Issue
Block a user