[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Change ooni.director.start() to set config.reports.pcap option.
commit 745ae4a115133ab2a22d2aea3271b57e273bae39
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Mon Mar 11 23:01:59 2013 +0000
Change ooni.director.start() to set config.reports.pcap option.
* ooni.director.start() is changed in order to set the now instanced
config.reports.pcap object, rather than calling a function in ooni/config.py
which sets it.
---
ooni/director.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ooni/director.py b/ooni/director.py
index 8365ebd..952b74a 100644
--- a/ooni/director.py
+++ b/ooni/director.py
@@ -84,7 +84,7 @@ class Director(object):
if config.privacy.includepcap:
log.msg("Starting")
if not config.reports.pcap:
- config.generatePcapFilename()
+ config.reports.pcap = config.generatePcapFilename()
self.startSniffing()
if config.advanced.start_tor:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits