Skip to content

Commit

Permalink
修复#11
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Oct 17, 2017
1 parent 7ca469d commit d3ed5c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions changestream.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def is_number(s):
#读取配置文件信息
mystreamnetwork=str(readjson.ConfStreamNetwork)
if readjson.ConfStreamNetwork=="kcp" :
if(readjson.ConfStreamHeader=="kcp utp"):
if(readjson.ConfStreamHeader=="kcp srtp"):
mystreamnetwork="mKCP 伪装 FaceTime通话"
elif(readjson.ConfStreamHeader=="kcp srtp"):
elif(readjson.ConfStreamHeader=="kcp utp"):
mystreamnetwork="mKCP 伪装 BT下载流量"
elif(readjson.ConfStreamHeader=="kcp wechat-video"):
mystreamnetwork="mKCP 伪装 微信视频流量"
Expand Down Expand Up @@ -70,11 +70,11 @@ def is_number(s):
elif(newstreamnetwork=="4"):
writejson.WriteStreamNetwork("mkcp","none")
elif(newstreamnetwork=="5"):
writejson.WriteStreamNetwork("mkcp","kcp utp")
elif(newstreamnetwork=="6"):
writejson.WriteStreamNetwork("mkcp","kcp srtp")
elif(newstreamnetwork=="6"):
writejson.WriteStreamNetwork("mkcp","kcp utp")
elif(newstreamnetwork=="7"):
writejson.WriteStreamNetwork("mkcp","kcp wechat-video")
else:
print("请输入有效数字!")
exit
exit

0 comments on commit d3ed5c6

Please sign in to comment.