fix 'true' not True

else error
This commit is contained in:
bug Lady 2019-11-14 13:32:15 +01:00 committed by GitHub
parent 35a2962552
commit 7e1f1d2604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ class TestCore(unittest.TestCase):
def test_onionservicesonly(self):
"""test onionservicesonly networking mode"""
BMConfigParser().set('bitmessagesettings', 'onionservicesonly', True)
BMConfigParser().set('bitmessagesettings', 'onionservicesonly', 'true')
self._initiate_bootstrap()
BMConfigParser().remove_option('bitmessagesettings', 'dontconnect')
for _ in range(360):