added extra prints

This commit is contained in:
Rushil Umaretiya 2024-01-17 18:28:32 -05:00
parent 6485607b17
commit 24073af7c2
3 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
schedule.csv
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

4
mdh.py
View File

@ -50,6 +50,8 @@ def start_shift(playwright: Playwright, end_hour: str, end_minute: str) -> None:
page.locator("input[name=\"location\"]").fill(LOCATION)
page.get_by_role("button", name="Done").click()
print("started shift")
context.close()
browser.close()
@ -69,6 +71,8 @@ def end_shift(playwright: Playwright) -> None:
page.get_by_role("button", name="End now").click()
page.get_by_role("button", name="End shift now").click()
print("ended shift")
context.close()
browser.close()

View File

@ -2,5 +2,4 @@ Day,Start Time,End Time
1,17:00,19:00
2,11:00,14:00
3,17:00,19:00
4,14:00,17:00
2,17:00,19:00
4,14:00,17:00
1 Day Start Time End Time
2 1 17:00 19:00
3 2 11:00 14:00
4 3 17:00 19:00
5 4 14:00 17:00
2 17:00 19:00