mirror of
https://github.com/erjiang/huion-keys.git
synced 2026-03-23 13:44:52 +03:00
use sys.exit() to force buffer flush on exit
This commit is contained in:
parent
eac30ea30e
commit
abb78fe810
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import signal
|
||||
import argparse
|
||||
@ -32,7 +33,7 @@ def main():
|
||||
args = parser.parse_args()
|
||||
if args.rules:
|
||||
make_rules()
|
||||
os._exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
global CONFIG_FILE_PATH
|
||||
if args.config is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user