This is an automated email from the git hooks/post-receive script.
atagar pushed a commit to branch master in repository nyx.
The following commit(s) were added to refs/heads/master by this push: new 038bd7b compensate for torrc logfile entry when tab-delimited 038bd7b is described below
commit 038bd7bdb45b94b21de14cfddb152e73688cc7b7 Author: h3xagonal genecoleman@protonmail.com AuthorDate: Wed Jun 15 00:00:00 2022 +0000
compensate for torrc logfile entry when tab-delimited --- nyx/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nyx/log.py b/nyx/log.py index 80c5faf..806b70d 100644 --- a/nyx/log.py +++ b/nyx/log.py @@ -83,7 +83,7 @@ def log_file_path(controller): """
for log_entry in controller.get_conf('Log', [], True): - entry_comp = log_entry.split() # looking for an entry like: notice file /var/log/tor/notices.log + entry_comp = log_entry.encode('ascii').decode('unicode_escape').split() # compensating for tab delimitation, looking for an entry like: notice file /var/log/tor/notices.log
if entry_comp[1] == 'file': return nyx.expand_path(entry_comp[2])
tor-commits@lists.torproject.org