diff --git a/fay_booter.py b/fay_booter.py index f861ee1..44ba353 100644 --- a/fay_booter.py +++ b/fay_booter.py @@ -99,7 +99,7 @@ def __init__(self, fei): def run(self): #启动ngork - if not config_util.key_ngrok_cc_id: + if config_util.key_ngrok_cc_id is not None and config_util.key_ngrok_cc_id != "": MyThread(target=self.start_ngrok, args=[config_util.key_ngrok_cc_id]).start() self.streamCache = stream_util.StreamCache(1024*1024*20)