summaryrefslogtreecommitdiff
path: root/detection/tool
diff options
context:
space:
mode:
author尹姜谊 <[email protected]>2024-01-24 17:33:53 +0800
committer尹姜谊 <[email protected]>2024-01-24 17:33:53 +0800
commitc3deafcfb789f3f423432ef57aa59ec03f3d39dd (patch)
tree019b55c13be42791d43a6059e8fc6f9c7134b710 /detection/tool
parent1ca6d08ccdee730fae3014f6ad73e5d6c6ee9f5b (diff)
Add: windscribevpn plugin
Diffstat (limited to 'detection/tool')
-rw-r--r--detection/tool/ProgramInit.py13
-rw-r--r--detection/tool/__pycache__/Config.cpython-39.pycbin1513 -> 1527 bytes
2 files changed, 5 insertions, 8 deletions
diff --git a/detection/tool/ProgramInit.py b/detection/tool/ProgramInit.py
index a6b19b1..39338bd 100644
--- a/detection/tool/ProgramInit.py
+++ b/detection/tool/ProgramInit.py
@@ -11,14 +11,11 @@ import os
def dataFilerClear():
# Clear detection1 data
# print(os.path.join(os.getcwd()))
- toolFunction.clear('PsiphonServerIP.txt')
- toolFunction.clear_dir('logs/', git_keep=True)
- toolFunction.clear_dir('data/feature', git_keep=True)
- toolFunction.clear_dir('data/result', git_keep=True)
- toolFunction.clear_dir('data/model/pic')
+ Functions.clear('PsiphonServerIP.txt')
+ Functions.clear_dir('logs/', git_keep=True)
+ # toolFunction.clear_dir('data/feature', git_keep=True)
+ # toolFunction.clear_dir('data/result', git_keep=True)
+ # toolFunction.clear_dir('data/model/pic')
-def modelClear():
- os.remove("data/model/originModel.model")
- os.remove('data/model/RFmodel.model')
dataFilerClear()
diff --git a/detection/tool/__pycache__/Config.cpython-39.pyc b/detection/tool/__pycache__/Config.cpython-39.pyc
index 5a14ac8..85f08d2 100644
--- a/detection/tool/__pycache__/Config.cpython-39.pyc
+++ b/detection/tool/__pycache__/Config.cpython-39.pyc
Binary files differ