mirror of https://github.com/morpheus65535/bazarr
16 lines
348 B
Python
16 lines
348 B
Python
from collections import OrderedDict
|
|
from . import TomlEncoder
|
|
from . 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)
|