Video-Summary/Importer.py

10 lines
238 B
Python
Raw Normal View History

2020-10-16 08:36:52 +00:00
import pickle
class Importer:
def __init__(self, config):
self.path = config["importPath"]
def importRawData(self):
with open(self.path, "rb") as file:
layers = pickle.load(file)
return layers