[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Fix typo



commit c22591e32b8365c72b8539aead613b22a4a8f92f
Author: juga0 <juga@xxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits