forked from solderpunk/AV-98
adding file as a dependancy
This commit is contained in:
parent
8beae920a7
commit
f4818c966e
|
@ -19,6 +19,7 @@ Wait for 2.1 if you are not willing to do testing/bug reporting.
|
|||
- "accept_bad_ssl_certificates" now more agressive for http and really accepts them all
|
||||
- Gemini-only: support for client generated certificates has been removed
|
||||
- blocked domains with "redirect" now also blocks related subdomains.
|
||||
- "file" is now marked as a dependency (thank Guillaume Loret)
|
||||
|
||||
## 1.10 - July 31st 2023
|
||||
- IMPORTANT : new optional dependency : python-chardet
|
||||
|
|
|
@ -1157,7 +1157,6 @@ def get_mime(path):
|
|||
#gmi Mimetype is not recognized yet
|
||||
if not mime and not shutil.which("file") :
|
||||
print("Cannot guess the mime type of the file. Please install \"file\".")
|
||||
print("(and send me an email, I’m curious of systems without \"file\" installed!")
|
||||
if mime.startswith("text") and mime not in _FORMAT_RENDERERS:
|
||||
if mime2 and mime2 in _FORMAT_RENDERERS:
|
||||
mime = mime2
|
||||
|
|
|
@ -36,6 +36,7 @@ http = ["requests"]
|
|||
process-title = ["setproctitle"]
|
||||
rss = ["feedparser"]
|
||||
timg = ["timg>=1.3.2"]
|
||||
file = ["file"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://sr.ht/~lioploum/offpunk/"
|
||||
|
|
|
@ -7,3 +7,4 @@ readability-lxml
|
|||
pillow
|
||||
setproctitle
|
||||
timg
|
||||
file
|
||||
|
|
|
@ -1 +1 @@
|
|||
sudo apt install less file xdg-utils xsel chafa timg python3-cryptography python3-requests python3-feedparser python3-bs4 python3-readability python3-pil python3-setproctitle python3-chardet
|
||||
sudo apt install less file xdg-utils xsel chafa timg python3-cryptography python3-requests python3-feedparser python3-bs4 python3-readability python3-pil python3-setproctitle python3-chardet file
|
||||
|
|
Loading…
Reference in New Issue