Skip to content

Commit

Permalink
fixed syntax for python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Aug 9, 2024
1 parent fd2054e commit 1d71a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fastsim/utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def disable_logging() -> int:
"""
return set_log_level(logging.CRITICAL + 1)

def enable_logging(level: Optional[int | str] = None) -> int:
def enable_logging(level: Optional[int, str] = None) -> int:
"""
Re-enable FASTSim logging, optionally to a specified log level,
otherwise to the default WARNING (30) level.
Expand Down

0 comments on commit 1d71a55

Please sign in to comment.