forked from solderpunk/AV-98
removing an old commented out line
This commit is contained in:
parent
cdd040f19a
commit
39c26fa59f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue