Skip to content

Commit 3222cfe

Browse files
authored
Merge pull request #138 from Philipp91/master
Fix SyntaxError in utils.py
2 parents 8ac41b0 + 9099ea0 commit 3222cfe

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/diffuse/utils.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,13 @@ def popenRead(dn, cmd, prefs, bash_pref, success_results=None):
184184
info = None
185185
if _use_flatpak():
186186
cmd = ['flatpak-spawn', '--host'] + cmd
187-
with (subprocess.Popen(
188-
cmd,
189-
stdin=subprocess.PIPE,
190-
stdout=subprocess.PIPE,
191-
stderr=subprocess.PIPE,
192-
cwd=dn,
193-
startupinfo=info) as proc
194-
):
187+
with subprocess.Popen(
188+
cmd,
189+
stdin=subprocess.PIPE,
190+
stdout=subprocess.PIPE,
191+
stderr=subprocess.PIPE,
192+
cwd=dn,
193+
startupinfo=info) as proc:
195194
proc.stdin.close()
196195
proc.stderr.close()
197196
fd = proc.stdout

0 commit comments

Comments
 (0)