From: Edward Date: Fri, 12 Dec 2025 20:24:25 +0000 (-0600) Subject: Fixup async X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/22fdba5c42888bef609df368904504883dc5d26c?ds=sidebyside Fixup async --- diff --git a/files/pc/tasks.py b/files/pc/tasks.py index e6c9a08..edaf571 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -12,7 +12,7 @@ TODAY = dt.now().strftime('%Y.%m.%d') KIDS_ALLOWANCE_URL=os.environ.get('KIDS_ALLOWANCE_URL') def browse(c, url): - c.run(f"librefox {url}") + c.run(f"librefox {url}", asynchronous=True) def code(c, path): diff --git a/files/tab/tasks.py b/files/tab/tasks.py index 488e80f..034efe2 100644 --- a/files/tab/tasks.py +++ b/files/tab/tasks.py @@ -12,7 +12,7 @@ TODAY = dt.now().strftime('%Y.%m.%d') KIDS_ALLOWANCE_URL=os.environ.get('KIDS_ALLOWANCE_URL') def browse(c, url): - c.run(f"librefox {url}") + c.run(f"librefox {url}", asynchronous=True) def code(c, path): diff --git a/files/ts/tasks.py b/files/ts/tasks.py index e35b5e1..36f2e01 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -50,7 +50,7 @@ def dash(c): @task def vasl(c): '''Submit time off''' - c.run(f"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp") + browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp") browse(c, "https://outlook.office.com/calendar/view/week")