various updates and changes, move admin widgets into different seperate dialogs
This commit is contained in:
@@ -21,7 +21,7 @@ class ApparatData:
|
||||
|
||||
def get_prof_details(self) -> dict:
|
||||
return {
|
||||
"prof_title": self.prof_title,
|
||||
"title": self.prof_title,
|
||||
"profname": self.profname,
|
||||
"prof_mail": self.prof_mail,
|
||||
"prof_tel": self.prof_tel,
|
||||
@@ -62,7 +62,7 @@ class BookData:
|
||||
else:
|
||||
pattern = r"(\w+)='([^']*)'"
|
||||
data_dict = dict(re.findall(pattern, data))
|
||||
print(data_dict)
|
||||
# print(data_dict)
|
||||
for key, value in data_dict.items():
|
||||
setattr(self, key, value)
|
||||
return self
|
||||
|
||||
Reference in New Issue
Block a user