Skip to content

Commit b84f367

Browse files
author
PingIsFun
committed
Fixed classes_in_hour being an int not a str
1 parent cdbb5a6 commit b84f367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/eAsisitent_scraper/scraper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def get_schedule_data(
268268
"date": date_formatted,
269269
}
270270
scraped_data[day_num][hour_name][
271-
classes_in_hour
271+
str(classes_in_hour)
272272
] = data_out
273273
classes_in_hour += 1
274274

@@ -285,7 +285,7 @@ def get_schedule_data(
285285
"date": date_formatted,
286286
}
287287
scraped_data[day_num][hour_name][
288-
classes_in_hour
288+
str(classes_in_hour)
289289
] = data_out
290290
classes_in_hour += 1
291291
count2 += 1

0 commit comments

Comments
 (0)