Skip to content

Commit

Permalink
style(action_manager/js_converter): hop
Browse files Browse the repository at this point in the history
  • Loading branch information
TsXor committed Sep 12, 2022
1 parent 2712d1c commit 1ca302e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions photoshop/api/action_manager/js_converter/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def parseref(tdict):
# py37 compat
try:
ext = eval(
"""[(str2refgetpacker[val["type"]](e) """
+ """if type(val := e["Value"]) == dict """
+ """else str2refgetpacker["default"](e)) for e in d2l]"""
"""[(str2refgetpacker[val["type"]](e) """ +
"""if type(val := e["Value"]) == dict """ +
"""else str2refgetpacker["default"](e)) for e in d2l]"""
)
except SyntaxError:
ext = [
Expand Down

0 comments on commit 1ca302e

Please sign in to comment.