Skip to content

Commit

Permalink
Update mess sheet link and worksheet names
Browse files Browse the repository at this point in the history
  • Loading branch information
MistyRavager authored Feb 26, 2024
1 parent 3a212af commit f9e8f7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bus-menu-scripts/mess.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#-------------------------------------------------------------------------------
# What week is now? (1/2/3/4) (for deciding which menu to use)
d = datetime.date.today()
current_week = d.isocalendar()[1] - datetime.date(d.year,d.month,1).isocalendar()[1] + 2
current_week = d.isocalendar()[1] - datetime.date(d.year,d.month,1).isocalendar()[1] + 1

#-------------------------------------------------------------------------------
# Get sheets
Expand All @@ -20,9 +20,9 @@
gc = gspread.authorize(creds)

# gc = gspread.oauth()
sh = gc.open_by_url("https://docs.google.com/spreadsheets/d/1JwWYMajEwihR8-xIfa9aZ7e4WrBuUEdEGDJH2aAj78g")
weekly = sh.worksheet("Main Menu")
additionals = sh.worksheet("Extras")
sh = gc.open_by_url("https://docs.google.com/spreadsheets/d/1XU44bhxu2_Z_HnImXZIM3Iqt6ZvukTbF3YGZZV19NLs")
weekly = sh.worksheet("main menu")
additionals = sh.worksheet("extras")



Expand Down

0 comments on commit f9e8f7d

Please sign in to comment.