Skip to content

Commit f355915

Browse files
committed
Add the sleep (not sure if it's worth it)
1 parent e289632 commit f355915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parser/cometCalendarParser.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ func getLocationAbbreviations(inDir string) (map[string]string, []string) {
259259
scrapers.ScrapeMapLocations(inDir)
260260
time.Sleep(2 * time.Second)
261261
ParseMapLocations(inDir, inDir)
262+
time.Sleep(2 * time.Second) // Probably a good idea to let it sleep before moving on?
262263

263264
// If fail to get the locations again, not because unscraped
264265
mapFile, _ = os.ReadFile(inDir + "/mapLocations.json")

0 commit comments

Comments
 (0)