Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/52-54-00-12-34-56.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-08-21 08:24:10 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-08-21 08:24:10 +0000
commit63b92f6ea719c31c6c498e7f79ceabc0bce0b6a1 (patch)
tree9861ead9a43cff4a041fce9dd50a01c980fe31dd /profiles/52-54-00-12-34-56.py
parent96e8cc4d5b4bf6e23c3d30a745c1c4ff7cd61770 (diff)
Added try/catch for HTTPS POST.
Diffstat (limited to 'profiles/52-54-00-12-34-56.py')
-rw-r--r--profiles/52-54-00-12-34-56.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py
index 352c5f66..448b1c6d 100644
--- a/profiles/52-54-00-12-34-56.py
+++ b/profiles/52-54-00-12-34-56.py
@@ -38,4 +38,7 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
req = urllib.request.Request("https://archlinux.life/build/successful",
data=json.dumps(conditions).encode('utf8'),
headers={'content-type': 'application/json'})
- urllib.request.urlopen(req, timeout=5) \ No newline at end of file
+ try:
+ urllib.request.urlopen(req, timeout=5)
+ except:
+ pass \ No newline at end of file