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 github-actions[bot] committed Nov 6, 2024
1 parent 1d561ad commit c970a3e
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 c970a3e

Please sign in to comment.