Skip to content

Commit

Permalink
wrap python Union annotation as string annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ostr00000 authored and nyalldawson committed Nov 6, 2024
1 parent 76a400f commit bf5907c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/qgspythonutilsimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class StartupScriptRunner:
self.info_messages: list[str] = []
self.warning_messages: list[str] = []
def run_startup_script(self, script_path: pathlib.Path | str | None) -> bool:
def run_startup_script(self, script_path: 'pathlib.Path | str | None') -> bool:
script_executed = False
if not script_path:
return script_executed
Expand Down

0 comments on commit bf5907c

Please sign in to comment.