Hanno Böck commited on 2023-12-12 08:59:43
Zeige 2 geänderte Dateien mit 6 Einfügungen und 7 Löschungen.
| ... | ... |
@@ -12,13 +12,13 @@ |
| 12 | 12 |
# Bernd Wurst, https://bwurst.org/ |
| 13 | 13 |
|
| 14 | 14 |
|
| 15 |
-import os |
|
| 16 |
-import glob |
|
| 17 |
-import re |
|
| 18 | 15 |
import argparse |
| 19 |
-import sys |
|
| 16 |
+import glob |
|
| 20 | 17 |
import json |
| 18 |
+import os |
|
| 21 | 19 |
import pathlib |
| 20 |
+import re |
|
| 21 |
+import sys |
|
| 22 | 22 |
from xml.sax.saxutils import escape # noqa: DUO107 |
| 23 | 23 |
|
| 24 | 24 |
|
| ... | ... |
@@ -1,12 +1,11 @@ |
| 1 | 1 |
#!/usr/bin/python3 |
| 2 | 2 |
|
| 3 |
+import io |
|
| 3 | 4 |
import os |
| 4 | 5 |
import pathlib |
| 5 | 6 |
import sys |
| 6 |
-import urllib.request |
|
| 7 |
-import io |
|
| 8 | 7 |
import tarfile |
| 9 |
- |
|
| 8 |
+import urllib.request |
|
| 10 | 9 |
|
| 11 | 10 |
DBURL = "https://freewvsdb.schokokeks.org/" |
| 12 | 11 |
dbpaths = ["/var/lib/freewvs/", str(pathlib.Path.home()) + "/.cache/freewvs/"] |
| 13 | 12 |