1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 00:59:42 +00:00

Document _get_filetype function

This commit is contained in:
Joey Territo
2023-07-23 20:59:22 -05:00
committed by deadc0de
parent 5c78b9f540
commit c1ab5cde54

View File

@@ -180,6 +180,7 @@ class Templategen:
return f'{prepend}{utils.header()}'
def _get_filetype(self, src):
"""use magic or the file command to get the mime type of a file"""
try:
# pylint: disable=C0415
import magic