Skip to content

Commit

Permalink
Scheduletype now referenced from csv_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondls committed Aug 19, 2020
1 parent 2891565 commit d69cc59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions Schedulebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@

credentials = None

# A to Z type of schedule
# possibleSchedTypes = ["A", "B", "C", "D", "E", "F", "G"]

# M to F type of schedule
possibleSchedTypes = ["M", "T", "W", "R", "F"]
possibleSchedTypes = csv_reader.possibleSchedTypes

extractedSched = csv_reader.extractedData

Expand Down
4 changes: 2 additions & 2 deletions csv_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
filepath = "/Users/aarondelossantos/Documents/Schedules/Fall 2020.csv"

# A to Z type of schedule
# possibleSchedTypes = ("A", "B", "C", "D", "E", "F", "G")
# possibleSchedTypes = ["A", "B", "C", "D", "E", "F", "G"]

# M to F type of schedule
possibleSchedTypes = ("M", "T", "W", "R", "F")
possibleSchedTypes = ["M", "T", "W", "R", "F"]

def extractData(filepath):
print("Extracting events from CSV file")
Expand Down

0 comments on commit d69cc59

Please sign in to comment.