mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Add groupname item to genList
This commit is contained in:
@@ -21,8 +21,10 @@ class Generator:
|
||||
text) = traceback.extract_stack()[-2]
|
||||
funcname = filename[filename.rfind('/'):].strip()
|
||||
funcname = funcname[1:-3]
|
||||
# print(funcname)
|
||||
genList.append([id, title, self, funcname])
|
||||
groupname = filename[:filename.rfind('/')].strip()
|
||||
groupname = groupname[groupname.rfind('/'):].strip()
|
||||
groupname = groupname[1:]
|
||||
genList.append([id, title, self, funcname, groupname])
|
||||
|
||||
def __str__(self):
|
||||
return str(
|
||||
|
||||
Reference in New Issue
Block a user