JS, Edit
This commit is contained in:
@@ -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
|
||||
|
||||
#-------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user