wepub

Check-in [eb1051541a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Directly register w. account server, so we get a service directory.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:eb1051541adbfade29aa2431a535d46cc0e3049b60125c71774d3140a8f225eb
User & Date: ajv-899-334-8894@vsta.org 2016-11-20 01:05:42
Context
2016-11-20
01:06
Add next/prev chapter buttons check-in: 3a8bcbbe3f user: ajv-899-334-8894@vsta.org tags: master, trunk
01:05
Directly register w. account server, so we get a service directory. check-in: eb1051541a user: ajv-899-334-8894@vsta.org tags: master, trunk
2016-11-17
17:33
Convert to account server check-in: db7a51a379 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to main.py.

43
44
45
46
47
48
49

50
51
52
53
54
55
56
    def __init__(self, config):
	# Let Chore handle most things
	chore.server.Server.__init__(self, config, App_Handler);

        # Use authentication server
        Authen_Server_mixin.__init__(self)
        self.authentication.append(Authen_mixin.auth_server)


if __name__ == "__main__":
    if len(sys.argv) != 2:
	sys.stderr.write("Usage is: %s <config-file>\n" %
	    (sys.argv[0],))
	sys.exit(1)








>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    def __init__(self, config):
	# Let Chore handle most things
	chore.server.Server.__init__(self, config, App_Handler);

        # Use authentication server
        Authen_Server_mixin.__init__(self)
        self.authentication.append(Authen_mixin.auth_server)
        self.init_acct_server()

if __name__ == "__main__":
    if len(sys.argv) != 2:
	sys.stderr.write("Usage is: %s <config-file>\n" %
	    (sys.argv[0],))
	sys.exit(1)