Skip to content

Commit

Permalink
Fix download legal script
Browse files Browse the repository at this point in the history
  • Loading branch information
wmontwe committed Dec 11, 2024
1 parent 06e33cb commit 6543ae5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build_scripts/downloadlegal.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import re
import sys
import time
#!/usr/bin/env python

import urllib.request as request

# Download the Thunderbird Privacy Policy and fit it into our layout
Expand All @@ -16,7 +15,7 @@


def main():
url = f"{THUNDERBIRD_PRIVACY_POLICY_URL}?token={int(time.time())}"
url = f"{THUNDERBIRD_PRIVACY_POLICY_URL}"
with request.urlopen(url) as response:
contents = (
response.read()
Expand Down
1 change: 1 addition & 0 deletions build_scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
urllib3

0 comments on commit 6543ae5

Please sign in to comment.