Skip to content

Commit

Permalink
Added piece to include conn_string
Browse files Browse the repository at this point in the history
- Relates to #69
  • Loading branch information
bdcallen committed Feb 7, 2020
1 parent 22d400f commit e7d4ff4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions schedule_13dg_indexing_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
import datetime as dt


dbname = os.getenv("PGDATABASE")

host = os.getenv("PGHOST", "localhost")

conn_string = "postgresql://" + host + "/" + dbname




def get_index_url(file_name):

Expand Down

0 comments on commit e7d4ff4

Please sign in to comment.