summaryrefslogtreecommitdiff
path: root/src/main/python/utils/data.py
blob: ab43af651e42697c5420559586e5a1e400740063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from json import load
from .funcs import fileImporter

paperSizes = load(open(fileImporter("config/paperSizes.json")))

sheetDimensionList = list(paperSizes.keys())

ppiList = paperSizes[sheetDimensionList[0]].keys()

toolbarItems = load(open(fileImporter("config/items.json")))

defaultToolbarItems = toolbarItems.keys()