remove sys, just use return instead

This commit is contained in:
NeoTheFox 2021-02-18 23:11:18 +03:00 committed by erjiang
parent abb78fe810
commit 4afc1a2d51

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python3
import os
import sys
import time
import signal
import argparse
@ -33,7 +32,7 @@ def main():
args = parser.parse_args()
if args.rules:
make_rules()
sys.exit(0)
return 0
global CONFIG_FILE_PATH
if args.config is None: