mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-03 21:10:51 -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__":
|
||||
import sys
|
||||
from homeserver import HomeServerConfig
|
||||
from synapse.config.homeserver import HomeServerConfig
|
||||
|
||||
action = sys.argv[1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user