0

fix various logging.warn calls

Those are deprecated in favour of logging.warning now.
This commit is contained in:
Nicolas F
2019-12-11 18:42:35 +01:00
parent 268938a706
commit 76bbabb7de
3 changed files with 6 additions and 6 deletions

View File

@@ -513,7 +513,7 @@ def main():
"files in the world directory?")
return 1
if rset is None: # indicates no such dimension was found
logging.warn("Sorry, you requested dimension '%s' for %s, but I couldn't find it.",
logging.warning("Sorry, you requested dimension '%s' for %s, but I couldn't find it.",
render['dimension'][0], render_name)
continue