Commit.
This commit is contained in:
parent
cdc99c193d
commit
947ee18cc9
|
@ -8,7 +8,7 @@ from unittest import TestSuite, TestLoader
|
|||
if __name__ == '__main__':
|
||||
import sys
|
||||
|
||||
if sys.stdin.isatty():
|
||||
if sys.stderr.isatty():
|
||||
print('终端模式')
|
||||
else:
|
||||
print('GUI模式')
|
||||
|
|
Loading…
Reference in New Issue