From c18c04f707fb28a7c79917887c1c221c8fe29e4b Mon Sep 17 00:00:00 2001 From: Guillem Borrell Date: Mon, 10 Jun 2024 13:31:29 +0200 Subject: [PATCH] Fix check. --- src/hellocomputer/analytics.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/hellocomputer/analytics.py b/src/hellocomputer/analytics.py index 08905ab..6074c3c 100644 --- a/src/hellocomputer/analytics.py +++ b/src/hellocomputer/analytics.py @@ -32,10 +32,12 @@ class DDB: if storage_engine == StorageEngines.gcs: if all( - gcs_access is not None, - gcs_secret is not None, - bucket is not None, - sid is not None, + ( + gcs_access is not None, + gcs_secret is not None, + bucket is not None, + sid is not None, + ) ): self.db.sql(f""" CREATE SECRET (