We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac44f1c commit 7e9a231Copy full SHA for 7e9a231
gnuplotlib.py
@@ -1502,7 +1502,7 @@ def _startgnuplot(self):
1502
# would happen by default, but in python3 I need to do this extra thing
1503
# for some reason. And it's a new thing that didn't exist in python2, so
1504
# I need to explicitly allow this to fail in python2
1505
- if self.fdDupSTDOUT:
+ if self.fdDupSTDOUT is not None:
1506
try:
1507
os.set_inheritable(self.fdDupSTDOUT, True)
1508
except AttributeError:
0 commit comments