diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-07-11 22:12:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 22:12:01 +0200 |
| commit | 7bd72274780ccaeae8bbae6e761341079df21ecb (patch) | |
| tree | 8979201b59645624cf585b13a20f44cb006a282d /lib/commands.py | |
| parent | 69929236217974f98b58cf3c458835b91c4cb35d (diff) | |
Do not redefine underscore (#3865)
* do not redefine underscore
* Disallow any redefinitions going forward
---------
Co-authored-by: CapellanCitizen <>
Diffstat (limited to 'lib/commands.py')
| -rw-r--r-- | lib/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/commands.py b/lib/commands.py index 37081f11..051c4b64 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -146,8 +146,8 @@ class Command(BaseCommand): pos = (float(self.use.get("x", 0)), float(self.use.get("y", 0))) transform = get_node_transform(self.use) - pos = inkex.Transform(transform).apply_to_point(pos) - self.target_point = pos + target = inkex.Transform(transform).apply_to_point(pos) + self.target_point = target def __repr__(self): return "Command('%s', %s)" % (self.command, self.target_point) |
