Skip to content

Commit

Permalink
Format utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
user1823 authored Sep 12, 2024
1 parent 9559fe9 commit f6f2daa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion qt/aqt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,12 @@ def showinFolder(path: str) -> None:


def osascript_to_args(script: str):
args = [item for line in script.splitlines() for item in ("-e", line.strip()) if line.strip()]
args = [
item
for line in script.splitlines()
for item in ("-e", line.strip())
if line.strip()
]
return ["osascript"] + args


Expand Down

0 comments on commit f6f2daa

Please sign in to comment.