mirror of
https://github.com/taoky/shadowmire.git
synced 2025-07-08 09:12:43 +00:00
Use logger.warning() to replace deprecated warn()
This commit is contained in:
parent
3a1b20541c
commit
4664c23ad5
@ -772,7 +772,7 @@ class SyncBase:
|
|||||||
return True
|
return True
|
||||||
if dest_size == i_size:
|
if dest_size == i_size:
|
||||||
return True
|
return True
|
||||||
logger.warn(
|
logger.warning(
|
||||||
"file %s exists locally, but size does not match with upstream, so it would still be downloaded.",
|
"file %s exists locally, but size does not match with upstream, so it would still be downloaded.",
|
||||||
dest,
|
dest,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user