This commit is contained in:
darthsandmann
2016-11-07 17:59:41 +01:00
parent ea52ecc1a1
commit 9e8ac3d880
11 changed files with 197 additions and 24 deletions

View File

@@ -46,6 +46,7 @@ class Database_cl(object):
#-------------------------------------------------------
def ReadEntry(self, category = None, id = None):
#-------------------------------------------------------
print("ReadEntry: ", category, id)
data = None
if id == None:
data = self.data
@@ -53,6 +54,7 @@ class Database_cl(object):
if id in self.data[category]:
data = self.data[category][id]
print(data, "\n")
return data
#-------------------------------------------------------