From a4467d8bfc77102bdb35034c16b2aa2a13979e07 Mon Sep 17 00:00:00 2001 From: Jacob Henry Date: Sun, 28 Oct 2018 17:49:51 -0400 Subject: [PATCH] Switched from hardcoded ranges to named ranges --- job_nagger.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/job_nagger.py b/job_nagger.py index d81f677..1acd252 100644 --- a/job_nagger.py +++ b/job_nagger.py @@ -5,8 +5,10 @@ import google_api import channel_util SHEET_ID = "1lPj9GjB00BuIq9GelOWh5GmiGsheLlowPnHLnWBvMOM" -eight_job_range = "House Jobs!A2:C25" # Format: Job Day Bro -fiftythree_job_range = "House Jobs!E2:G6" + +# Note: These ranges use named range feature of google sheets. To edit range of jobs, edit the named range in Data -> Named Ranges +eight_job_range = "EightJobs" # Format: Job Day Bro +fiftythree_job_range = "FiftyThreeJobs" class Job(object):