X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/0fc62b2d25ef0fd50b74b2ed52028928a1e00544..fdbb2688223616c6c06685eb93f87d074ec4e4e7:/files/pc/tasks.py?ds=inline diff --git a/files/pc/tasks.py b/files/pc/tasks.py index a6f0c05..a2a5df7 100644 --- a/files/pc/tasks.py +++ b/files/pc/tasks.py @@ -94,16 +94,21 @@ def allowance(c): browse(c, URLS['allowance']) @task -def payroll(c): - - allowance(c) - +def payroll_folders(c): # For copying the latest file in folder(c, f"{HOME}/pixel7adocuments") folder(c, f"{PAYROLL}/data/payroll_inbox") + folder(c, f"{PAYROLL}") + + +@task +def payroll(c): + + allowance(c) + payroll_folders(c) # For editing files - folder_payroll(c) + code(c, f"{PAYROLL}") payroll_jupyter(c) @task @@ -112,10 +117,6 @@ def payroll_jupyter(c): # For running the payroll scripts c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter-lab") -@task -def folder_payroll(c): - code(c, f"{PAYROLL}") - @task() def screenshare(c):