mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-18 20:23:27 +02:00
When making GM session notes as epub, the party character sheets are also included.
This commit is contained in:
@@ -55,6 +55,10 @@ def read_sheet_file(filename: Union[str, Path]) -> dict:
|
||||
# Remove imported dungeonsheets modules
|
||||
char_props.pop("import_homebrew", None)
|
||||
char_props.pop("mechanics", None)
|
||||
# Remove private variables (start with a '_')
|
||||
for attr in list(char_props.keys()):
|
||||
if attr[0] == "_":
|
||||
char_props.pop(attr)
|
||||
return char_props
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user