diff options
author | emkael <emkael@tlen.pl> | 2023-02-07 17:30:13 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2023-02-07 17:30:13 +0100 |
commit | 13e5db0637204b9164ed5cab4cef129505548407 (patch) | |
tree | 7ff1c97ac01a256c9dc3f4bbc269e06b33096376 /scripts/pyranking/db.py | |
parent | 79d084a1222062df47528b8340a83ef679735267 (diff) |
Python 2.x -> 3.x conversion
Diffstat (limited to 'scripts/pyranking/db.py')
-rw-r--r-- | scripts/pyranking/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pyranking/db.py b/scripts/pyranking/db.py index 16595d3..f30a555 100644 --- a/scripts/pyranking/db.py +++ b/scripts/pyranking/db.py @@ -1,7 +1,7 @@ import json import mysql.connector -settings = json.load(file('config/db.json')) +settings = json.load(open('config/db.json')) connection = mysql.connector.connect( user=settings['user'], |