Skip to content
Snippets Groups Projects
Commit d1cc1c00 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: whitespace change

parent b0d252e5
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ def main():
"""Shows a few examples how to use the CaosDB library."""
conf = dict(caosdb.configuration.get_config().items("Connection"))
print("##### Config:\n{}\n".format(conf))
if conf["cacert"] == "/path/to/caosdb.ca.pem":
print("Very likely, the path the the TLS certificate is not correct, "
"please fix it.")
......@@ -25,7 +26,7 @@ def main():
rec_id = random.choice([rec.id for rec in result])
rec = caosdb.Record(id=rec_id).retrieve()
print("##### Randomly retrieved Record:\n{}\n".format(rec))
if __name__ == "__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment