Skip to content

Commit

Permalink
sdoc RepoUpdateEventHandler (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkywalkerSpace authored Jun 19, 2023
1 parent 2a3ce7f commit 4cdb1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ def save_file_histories(config, session, records):
def should_record(config, record):
""" return True if record['path'] is a specified office file
"""
suffix = 'md,txt,doc,docx,xls,xlsx,ppt,pptx'
suffix = 'md,txt,doc,docx,xls,xlsx,ppt,pptx,sdoc'
fh_suffix_list = get_opt_from_conf_or_env(config, 'FILE HISTORY', 'suffix', default=suffix.strip(','))
filename, suffix = splitext(record['path'])
if suffix[1:] in fh_suffix_list:
Expand Down

0 comments on commit 4cdb1eb

Please sign in to comment.