aboutsummaryrefslogtreecommitdiff
path: root/tools/get_p2_url.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-11-18 13:36:59 +0100
committerjaseg <git@jaseg.de>2020-11-18 13:36:59 +0100
commita817299570cef674173b87eeba77e15f26d7cd0d (patch)
tree53b17ce80ebd5b9303aa920ac581ed6043c2117b /tools/get_p2_url.py
parent51987e1e3b00f89af3c0e72ea8ad760284dc8b84 (diff)
downloadstm32square-a817299570cef674173b87eeba77e15f26d7cd0d.tar.gz
stm32square-a817299570cef674173b87eeba77e15f26d7cd0d.tar.bz2
stm32square-a817299570cef674173b87eeba77e15f26d7cd0d.zip
Fix missing dependencies and variable exports
Diffstat (limited to 'tools/get_p2_url.py')
-rw-r--r--tools/get_p2_url.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/get_p2_url.py b/tools/get_p2_url.py
index f2162cd..2befda6 100644
--- a/tools/get_p2_url.py
+++ b/tools/get_p2_url.py
@@ -1,18 +1,18 @@
#!/usr/bin/env python3
-import requests
import re
-from bs4 import BeautifulSoup
import sys
import lzma
from urllib.parse import urlparse
from contextlib import suppress
import os
from os import path
-from tqdm import tqdm
import shutil
import time
from pathlib import Path
+import requests
+from bs4 import BeautifulSoup
+
def fucked_up_get(*args, **kwargs):
for retry in range(5):
for timeout in [0.1, 0.5, 1.0, 2.0, 5.0]: