Skip to content

Commit

Permalink
Corrects negation of environment variable
Browse files Browse the repository at this point in the history
* Corrects the negation of PASS BY REFERENCE mistakenly added to code
* Partly resolves artefactual-labs/am#38
  • Loading branch information
ross-spencer committed Jan 30, 2018
1 parent 512c730 commit f425da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MCPClient/lib/clientScripts/archivematicaClamscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class ClamdScanner(ScannerBase):
def __init__(self):
self.addr = mcpclient_settings.CLAMAV_SERVER
self.timeout = mcpclient_settings.CLAMAV_CLIENT_TIMEOUT
self.stream = not mcpclient_settings.CLAMAV_PASS_BY_REFERENCE
self.stream = mcpclient_settings.CLAMAV_PASS_BY_REFERENCE
self.client = self.get_client()

def scan(self, path):
Expand Down

0 comments on commit f425da3

Please sign in to comment.