removing an old commented out line

This commit is contained in:
Lionel Dricot 2022-05-07 17:45:56 +02:00
parent cdd040f19a
commit 39c26fa59f
1 changed files with 0 additions and 1 deletions

View File

@ -1662,7 +1662,6 @@ class GeminiItem():
elif path.endswith(".gmi"):
mime = "text/gemini"
elif shutil.which("file") :
#mime = magic.from_file(path,mime=True)
mime = run("file -b --mime-type \"%s\""%path).strip()
mime2,encoding = mimetypes.guess_type(path,strict=False)
#If we hesitate between html and xml, takes the xml one