We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ffe85f commit 1adeeb9Copy full SHA for 1adeeb9
src/protocol.py
@@ -161,7 +161,7 @@ def checkIPAddress(host, private=False):
161
hostStandardFormat = socket.inet_ntop(socket.AF_INET6, host)
162
except ValueError:
163
return False
164
- if len(hostStandardFormat) == 0:
+ if hostStandardFormat:
165
# This can happen on Windows systems which are
166
# not 64-bit compatible so let us drop the IPv6 address.
167
src/tests/common.py
@@ -13,7 +13,7 @@
13
def cleanup(home=None, files=_files):
14
"""Cleanup application files"""
15
if not home:
16
- from pybitmessage import state
+ import state
17
home = state.appdata
18
for pfile in files:
19
try:
0 commit comments