Skip to content

Commit

Permalink
Fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
evankirkiles committed Dec 16, 2022
1 parent 44dede0 commit b09f043
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions psiturk/psiturk_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b09f043

Please sign in to comment.