slackbuilds_ponce/python/python-clamd/clamd-socket-file-name.patch
Brenton Earl 6ca46fdae4 python/python-clamd: Added (python interface to Clamav).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-11-13 18:16:44 +07:00

14 lines
467 B
Diff

Fixes the clamd socket file name
--- clamd-1.0.2.orig/src/clamd/__init__.py 2015-11-12 20:33:36.923228615 -0700
+++ clamd-1.0.2/src/clamd/__init__.py 2015-11-12 20:34:37.925224478 -0700
@@ -274,7 +274,7 @@
"""
Class for using clamd with an unix socket
"""
- def __init__(self, path="/var/run/clamav/clamd.ctl", timeout=None):
+ def __init__(self, path="/var/run/clamav/clamd.socket", timeout=None):
"""
class initialisation