Spaces:
Sleeping
Sleeping
pengdaqian
commited on
Commit
•
807503c
1
Parent(s):
0718f39
init scan
Browse files
scan.py
CHANGED
@@ -38,7 +38,7 @@ def scan_file(file_path: str):
|
|
38 |
|
39 |
|
40 |
def init_clamd():
|
41 |
-
clamd = pyclamd.ClamdUnixSocket()
|
42 |
return clamd
|
43 |
|
44 |
|
|
|
38 |
|
39 |
|
40 |
def init_clamd():
|
41 |
+
clamd = pyclamd.ClamdUnixSocket(filename='/tmp/clamd.sock')
|
42 |
return clamd
|
43 |
|
44 |
|