From 0ffd155ffcaceb33c54bf84bb404400363b12a48 Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema <dijkema@astron.nl> Date: Tue, 17 Mar 2020 16:06:55 +0100 Subject: [PATCH] Use utcnow() instead of time.utc() --- lib/opc_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opc_interface.py b/lib/opc_interface.py index 45d83a4..23457ec 100644 --- a/lib/opc_interface.py +++ b/lib/opc_interface.py @@ -24,7 +24,7 @@ def get_crosslet_statistics(parent, subband, integration_time): crosslets[1, :, :] = crosslets_complex.imag crosslets = crosslets.tolist() - timestamp = time.utc() + timestamp = time.utcnow() rcu = res['rcus'] rcus_mode = [rcu[i]["mode"] for i in rcu] -- GitLab