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

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

sheetDimensionList = list(paperSizes.keys())

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

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

defaultToolbarItems = toolbarItems.keys()