Skip to content

Commit

Permalink
Add missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
abraha2d committed Mar 22, 2021
1 parent 30e5d92 commit 0cfb84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvirtualdisplay/xephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _check_flags(self, helptext):
def _cmd(self):
cmd = [
PROGRAM,
] + ["-parent", self._parent] if self._parent else [] + [
] + (["-parent", self._parent] if self._parent else []) + [
dict(black="-br", white="-wr")[self._bgcolor],
"-screen",
"x".join(map(str, list(self._size) + [self._color_depth])),
Expand Down

0 comments on commit 0cfb84b

Please sign in to comment.