This commit is contained in:
zhaoyafan 2023-03-14 02:31:57 +08:00
parent cdc99c193d
commit 947ee18cc9
1 changed files with 1 additions and 1 deletions

View File

@ -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模式')