Skip to content

Commit

Permalink
Merge pull request #12 from masa0221/fix-cannot-fetch-clock
Browse files Browse the repository at this point in the history
Fix a bug that cannnot fetch clock time
  • Loading branch information
masa0221 authored Apr 13, 2022
2 parents fc4626f + 3721d74 commit e2f52bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/jobcan/adit.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ func (c *jobcanClient) Adit() aditResult {
} else {
webBrowser.adit()
}
aditResult.Clock = webBrowser.fetchClock()

// Wait for rendering
time.Sleep(1 * time.Second)
aditResult.Clock = webBrowser.fetchClock()
aditResult.AfterWorkingStatus = webBrowser.fetchWorkingStatus()

return aditResult
Expand Down

0 comments on commit e2f52bf

Please sign in to comment.