fix(binder): remove redundant subprocess imports causing scoping error

Remove redundant local subprocess imports that were causing
'cannot access local variable subprocess' error. subprocess
is already imported globally at the top of the file.
This commit is contained in:
Vijay Janapa Reddi
2025-08-05 20:21:50 -04:00
parent 183af511cb
commit f2e8e68f86

2
binder
View File

@@ -1796,7 +1796,6 @@ class BookBinder:
open_choice = 'n'
if open_choice in ['y', 'yes']:
try:
import subprocess
import platform
system = platform.system().lower()
if system == "darwin": # macOS
@@ -1836,7 +1835,6 @@ class BookBinder:
if action in ['e', 'edit']:
try:
import subprocess
import platform
system = platform.system().lower()
if system == "darwin": # macOS