craftbeerpi4-pione/venv3/lib/python3.7/site-packages/toml/ordered.py
Manuel Fritsch 12857c73ef "mqtt added"
2021-03-14 11:52:46 +01:00

15 lines
354 B
Python

from collections import OrderedDict
from toml import TomlEncoder
from toml import TomlDecoder
class TomlOrderedDecoder(TomlDecoder):
def __init__(self):
super(self.__class__, self).__init__(_dict=OrderedDict)
class TomlOrderedEncoder(TomlEncoder):
def __init__(self):
super(self.__class__, self).__init__(_dict=OrderedDict)