From b09f04385b4c9118d0f8dc3ec0b042f2ba656ce1 Mon Sep 17 00:00:00 2001 From: evan kirkiles Date: Thu, 15 Dec 2022 23:12:29 -0500 Subject: [PATCH] Fixup. --- psiturk/psiturk_config.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/psiturk/psiturk_config.py b/psiturk/psiturk_config.py index b5ace7e3..c6428557 100644 --- a/psiturk/psiturk_config.py +++ b/psiturk/psiturk_config.py @@ -145,8 +145,7 @@ def load_config(self): # if found, replace postgres:// with postgresql:// in database database_url = self.get('Database Parameters', 'database_url') - database_url.replace('postgres://', 'postgresql://') - self.set('Database Parameters', 'database_url', database_url) + self.set('Database Parameters', 'database_url', database_url.replace('postgres://', 'postgresql://')) def get_ad_url(self):