Add username field to CollectionWrapper

This commit is contained in:
flan
2019-03-08 14:17:23 +01:00
parent 5051144124
commit 4fe378adce
2 changed files with 3 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ class CollectionWrapper:
def __init__(self, path, setup_new_collection=None):
self.path = os.path.realpath(path)
self.username = os.path.basename(os.path.dirname(self.path))
self.setup_new_collection = setup_new_collection
self.__col = None