Skip to content
Snippets Groups Projects
Commit dffad603 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

db_url ohne CAL_USR

parent cc07d89c
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,10 @@ def main(): ...@@ -87,7 +87,10 @@ def main():
inter_url = "{server}/inter/{yn}".format(yn=inter_yn, server=cal_server) inter_url = "{server}/inter/{yn}".format(yn=inter_yn, server=cal_server)
json_dcc_url = "{server}/dcc/{yn}".format(yn=inter_yn, server=cal_server) json_dcc_url = "{server}/dcc/{yn}".format(yn=inter_yn, server=cal_server)
latex_url = "{server}/cer/latex/{cer_doc}".format(server=cal_server, cer_doc=cer_doc) latex_url = "{server}/cer/latex/{cer_doc}".format(server=cal_server, cer_doc=cer_doc)
db_url = 'http://{usr}:{pwd}@{srv}:5984/'.format(srv=dbsrv, usr=usr, pwd=pwd) if usr:
db_url = 'http://{usr}:{pwd}@{srv}:5984/'.format(srv=dbsrv, usr=usr, pwd=pwd)
else:
db_url = 'http://{srv}:5984/'.format(srv=dbsrv)
dcc_url = "{server}/vl-dcc/{yn}".format(server=xml_gen_server, yn=yn) dcc_url = "{server}/vl-dcc/{yn}".format(server=xml_gen_server, yn=yn)
valid_url = "{server}/validate".format(server=xml_valid_server) valid_url = "{server}/validate".format(server=xml_valid_server)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment