From d1cc1c000994fd665cd7e36af08d843ac9bf6321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Mon, 22 Jul 2019 15:01:50 +0200 Subject: [PATCH] MAINT: whitespace change --- examples/pycaosdb_example.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/pycaosdb_example.py b/examples/pycaosdb_example.py index 5801ea0e..d128e4e6 100755 --- a/examples/pycaosdb_example.py +++ b/examples/pycaosdb_example.py @@ -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() -- GitLab