fix py 3.x versioneer issue
This commit is contained in:
parent
e77a2d605b
commit
1197e5fb6d
|
@ -231,7 +231,11 @@ def create(appid, relay_url, reactor, # use keyword args for everything else
|
||||||
w = _DeferredWormhole(eq)
|
w = _DeferredWormhole(eq)
|
||||||
wormhole_versions = {} # will be used to indicate Wormhole capabilities
|
wormhole_versions = {} # will be used to indicate Wormhole capabilities
|
||||||
wormhole_versions["app_versions"] = versions # app-specific capabilities
|
wormhole_versions["app_versions"] = versions # app-specific capabilities
|
||||||
client_version = ("python", __version__.decode("utf-8", errors="replace"))
|
if (type(__version__) == str):
|
||||||
|
client_version = ("python", __version__)
|
||||||
|
else:
|
||||||
|
client_version = ("python", __version__.decode("utf-8", errors="replace"))
|
||||||
|
|
||||||
b = Boss(w, side, relay_url, appid, wormhole_versions, client_version,
|
b = Boss(w, side, relay_url, appid, wormhole_versions, client_version,
|
||||||
reactor, journal, tor, timing)
|
reactor, journal, tor, timing)
|
||||||
w._set_boss(b)
|
w._set_boss(b)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user