manuskript/manuskript/io/abstractFile.py
TheJackiMonster 9078079241
Added remove function for file types
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-05-14 19:46:39 +02:00

18 lines
333 B
Python

#!/usr/bin/env python
# --!-- coding: utf8 --!--
class AbstractFile:
def __init__(self, path):
self.path = path
def load(self):
raise IOError('Loading undefined!')
def save(self, content):
raise IOError('Saving undefined!')
def remove(self):
raise IOError('Removing undefined!')