mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
We should close stdin as well.
This commit is contained in:
parent
517cd03eec
commit
5542ad9e92
@ -281,6 +281,7 @@ if __name__ == '__main__':
|
|||||||
sys.stdin.close()
|
sys.stdin.close()
|
||||||
# Closing these two might cause problems; we log writes to them as
|
# Closing these two might cause problems; we log writes to them as
|
||||||
# level WARNING on upkeep.
|
# level WARNING on upkeep.
|
||||||
|
sys.stdin.close()
|
||||||
sys.stdout.close()
|
sys.stdout.close()
|
||||||
sys.stderr.close()
|
sys.stderr.close()
|
||||||
sys.stdout = StringIO.StringIO()
|
sys.stdout = StringIO.StringIO()
|
||||||
|
Loading…
Reference in New Issue
Block a user