Skip to content

Commit 272cd38

Browse files
committed
Fix python deprecation warning
1 parent 54522fd commit 272cd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/tools/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def runandload(name, *args, **kwargs):
9090

9191
def version():
9292
pluginPath = os.path.split(os.path.dirname(__file__))[0]
93-
cfg = configparser.SafeConfigParser()
93+
cfg = configparser.ConfigParser()
9494
cfg.read(os.path.join(pluginPath, 'metadata.txt'))
9595
ver = cfg.get('general', 'version').split('.')
9696
return 10000 * int(ver[0]) + 100 * int(ver[1]) + int(ver[2])

0 commit comments

Comments
 (0)