Skip to content

Commit 63d8bf1

Browse files
authored
Merge pull request #21 from kevinjalbert/fix-missing-default-on-shared-config-options
fix: missing default on the shard config class (for day/week options)
2 parents 549f763 + 8b418af commit 63d8bf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/notionscripts/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def imported_tag_url(self):
3131

3232
@cached(cache={})
3333
def week_starts_on_sunday(self):
34-
return os.environ.get('WEEK_STARTS_ON_SUNDAY')
34+
return os.environ.get('WEEK_STARTS_ON_SUNDAY', True)
3535

3636
@cached(cache={})
3737
def custom_day_format(self):
38-
return os.environ.get('CUSTOM_DAY_FORMAT')
38+
return os.environ.get('CUSTOM_DAY_FORMAT', "%B %-d")

0 commit comments

Comments
 (0)