diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 22:50:27 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-26 22:50:27 +0200 |
| commit | 4c6d68dd2e460095e20ba32007a35da4c5e6dae6 (patch) | |
| tree | 13eeab79298913ee177e428519bc18fed5356efa /opendc/util/database.py | |
| parent | 44f0bd378763f4c481fb8a87847ca84469b35a67 (diff) | |
Fix more PEP-8 violations
Diffstat (limited to 'opendc/util/database.py')
| -rw-r--r-- | opendc/util/database.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc/util/database.py b/opendc/util/database.py index e4c257d5..ebb62bde 100644 --- a/opendc/util/database.py +++ b/opendc/util/database.py @@ -5,8 +5,8 @@ from datetime import datetime from mysql.connector.pooling import MySQLConnectionPool # Get keys from config file -with open(sys.argv[1]) as file: - KEYS = json.load(file) +with open(sys.argv[1]) as f: + KEYS = json.load(f) DATETIME_STRING_FORMAT = '%Y-%m-%dT%H:%M:%S' CONNECTION_POOL = None |
