From 6cd581d9d0f3e6adc215d2c73b481f0df895d0aa Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Sun, 8 Sep 2024 15:21:27 -0500 Subject: curl -o --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.py') diff --git a/build.py b/build.py index cb5e0fe..f57a0b1 100644 --- a/build.py +++ b/build.py @@ -57,7 +57,7 @@ with open(org_fp, "r") as org: url = "https://outlook.office365.com/owa/calendar/db2d3e0f0490459a80c4b837118e4bf1@wisc.edu/f6a2b5209cd6432c96f52939cacdbedd2266851683387467601/calendar.ics" -subprocess.run(["curl", url, ">", "/home/nginx/pycal2org/uw-madison.ics"]) +subprocess.run(["curl", url, "-o", "/home/nginx/pycal2org/uw-madison.ics"]) subprocess.run(["python3", "/home/nginx/pycal2org/pycal2org.py", "/home/nginx/pycal2org/uw-madison.ics", ">", "/home/nginx/pycal2org/uw-madison.org"]) org_fp = "/home/nginx/pycal2org/uw-madison.org" -- cgit v1.2.3