Skip to content

Commit

Permalink
#714 bugfix with con context mgr
Browse files Browse the repository at this point in the history
  • Loading branch information
radumas committed Oct 2, 2023
1 parent 35df3d4 commit 6c8db22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dags/pull_wys.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def read_google_sheets():
cred = wys_api_hook.get_credentials()
service = build('sheets', 'v4', credentials=cred, cache_discovery=False)

with wys_postgres.get_conn() as con:
read_masterlist(con, service)
read_masterlist(wys_postgres.get_conn(), service)

pull_wys()
pull_schedules()
Expand Down

0 comments on commit 6c8db22

Please sign in to comment.