Skip to content

Commit

Permalink
Update py/server/deephaven/calendar.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jianfeng Mao <[email protected]>
  • Loading branch information
chipkent and jmao-denver authored Nov 29, 2023
1 parent fdba4f9 commit 35b43ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/server/deephaven/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def add_calendar(cal: Union[BusinessCalendar, str]) -> None:
"""

if cal is None:
raise DHError("cal must be specified")
raise DHError(message="cal must be specified")
elif isinstance(cal, str):
try:
_JCalendars.addCalendarFromFile(cal)
Expand Down

0 comments on commit 35b43ca

Please sign in to comment.