[tor-commits] [sbws/master] Fix typo
juga at torproject.org
juga at torproject.org
Mon Oct 8 08:14:49 UTC 2018
commit c22591e32b8365c72b8539aead613b22a4a8f92f
Author: juga0 <juga at riseup.net>
Date: Tue Oct 2 23:50:08 2018 +0000
Fix typo
---
sbws/util/fs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/util/fs.py b/sbws/util/fs.py
index f61f07f..e5e7173 100644
--- a/sbws/util/fs.py
+++ b/sbws/util/fs.py
@@ -65,7 +65,7 @@ def sbws_required_disk_space(conf):
space_log_files = 0
if conf.getboolean('logging', 'to_file'):
size_log_file = conf.getint('logging', 'to_file_max_bytes')
- num_log_files = conf.geting('logging', 'to_file_num_backups')
+ num_log_files = conf.getint('logging', 'to_file_num_backups')
space_log_files = size_log_file * num_log_files
text_dict['mb_log'] = space_log_files
# roughly, size of a current tor dir
More information about the tor-commits
mailing list