Skip to content

Commit 25262c8

Browse files
Merge pull request #3159 from stefanvi/master
Replace deprecated logging function
2 parents 35d25a3 + f010be2 commit 25262c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utility/base_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def jitter(fraction):
6060
i = fraction.split('/')
6161
min, max = int(i[0]), int(i[1])
6262
if min > max:
63-
logging.warn(f'Jitter range max value (max={max}) less than min value (min={min}). Using min={max} and max={min}.')
63+
logging.warning(f'Jitter range max value (max={max}) less than min value (min={min}). Using min={max} and max={min}.')
6464
min, max = max, min
6565
return randint(min, max)
6666

0 commit comments

Comments
 (0)