mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-10 12:19:59 +02:00
🐛 Use warning() to fix DeprecationWarning
This commit is contained in:
parent
224aa02163
commit
a70260c10e
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ def plain_extract(filename, include_filename_in_id=False, encoding="autodetect")
|
|||
|
||||
if encoding == "autodetect":
|
||||
fileencoding = detect_encoding(filename)
|
||||
log.warn(
|
||||
log.warning(
|
||||
f"Autodetected encoding as '{fileencoding}'"
|
||||
", it is recommended to specify it explicitly with --plain-encoding"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue