From 3db7389eb807df4490d5fc8cc3f20a56018d9662 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Thu, 17 Oct 2019 13:35:10 +1000 Subject: [PATCH] fix unable to display release note issue --- selfdrive/updated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 051a3b5fc..f96520133 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -43,7 +43,7 @@ def main(gctx=None): # Write latest release notes to param try: # r = subprocess.check_output(["git", "--no-pager", "show", "@{u}:RELEASES.md"]) - r = subprocess.check_output(["curl", "-H 'Cache-Control: no-cache'", "-s", "https://raw.githubusercontent.com/dragonpilot-community/dragonpilot/docs/CHANGELOG.md"]) + r = subprocess.check_output(["curl", "-H", "'Cache-Control: no-cache'", "-s", "https://raw.githubusercontent.com/dragonpilot-community/dragonpilot/docs/CHANGELOG.md"]) r = r[:r.find(b'\n\n')] # Slice latest release notes params.put("ReleaseNotes", r + b"\n") except: