Allow versions with '-RC' tags

This commit is contained in:
Andrew Resch 2008-07-10 05:02:40 +00:00
parent b3cc15c4a1
commit f13ea7375e

View File

@ -202,7 +202,7 @@ class Core(
# Create the client fingerprint # Create the client fingerprint
version = [] version = []
for value in deluge.common.get_version().split("."): for value in deluge.common.get_version().split("."):
version.append(int(value)) version.append(int(value.split("-")[0]))
fingerprint = lt.fingerprint("DE", *version) fingerprint = lt.fingerprint("DE", *version)
# Start the libtorrent session # Start the libtorrent session