1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

Move commodity.py bracketmap into data.py

This commit is contained in:
Athanasius 2021-04-03 10:17:37 +01:00
parent ee9565564b
commit 5d289454a9
2 changed files with 14 additions and 7 deletions

View File

@ -6,13 +6,8 @@ import hashlib
import time
from config import config
from data import commodity_bracketmap as bracketmap
bracketmap = {
0: '',
1: 'Low',
2: 'Med',
3: 'High',
}
# DEFAULT means semi-colon separation
# CSV means comma separation

14
data.py
View File

@ -1 +1,13 @@
"""Static data."""
"""
Static data.
For easy reference any variable should be prefixed with the name of the file it
was either in originally, or where the primary code utilising it is.
"""
commodity_bracketmap = {
0: '',
1: 'Low',
2: 'Med',
3: 'High',
}