From 2a90980b03429854bad8279c80ef4e74bc345360 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Tue, 3 Aug 2021 21:01:45 +0500 Subject: [PATCH] Fix deprecated config.getint() method config.getint() is deprecated since EDMC 5.0.0 (ref: https://github.com/EDCD/EDMarketConnector/releases/tag/Release%2F5.0.0), now plugins should use config.get_int() instead --- load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load.py b/load.py index b01fab7..ed69c9d 100644 --- a/load.py +++ b/load.py @@ -222,7 +222,7 @@ def edsm_data(event): def get_setting(): - setting = config.getint('habzone') + setting = config.get_int('habzone') if setting == 0: return SETTING_DEFAULT # Default to Earth-Like elif setting == SETTING_NONE: