Remove use of deprecated warn() method on logger object (#1641)

Remove use of deprecated `warn()` method on logger object.

Co-authored-by: Marc Greisen <marc@greisen.org>
This commit is contained in:
Anthony Shaw
2022-03-02 05:19:11 +12:00
committed by GitHub
parent a63ffc46f5
commit d260689233

View File

@ -176,7 +176,7 @@ class Client:
if not azcopy:
raise Exception(AZCOPY_MISSING_ERROR)
else:
logger.warn("unable to use built-in azcopy, using system install")
logger.warning("unable to use built-in azcopy, using system install")
self.azcopy = azcopy
with open(workbook_data) as f: