Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Dec 7, 2023
1 parent e1723f0 commit 0d72b5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion material/plugins/blog/structure/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def pre_validation(self, config: Config, key_name: str):
for key, value in config[key_name].items():

# Handle datetime - since datetime is a subclass of date, we need
# to check it first, or we'll loose time - see https://t.ly/-KG9N
# to check it first, or we lose the time - see https://t.ly/-KG9N
if isinstance(value, datetime):
continue

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/blog/structure/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def pre_validation(self, config: Config, key_name: str):
for key, value in config[key_name].items():

# Handle datetime - since datetime is a subclass of date, we need
# to check it first, or we'll loose time - see https://t.ly/-KG9N
# to check it first, or we lose the time - see https://t.ly/-KG9N
if isinstance(value, datetime):
continue

Expand Down

0 comments on commit 0d72b5f

Please sign in to comment.