mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Allow for shorter versions
This commit is contained in:
parent
f13ea7375e
commit
053cba31cb
1 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,8 @@ class Core(
|
|||
version = []
|
||||
for value in deluge.common.get_version().split("."):
|
||||
version.append(int(value.split("-")[0]))
|
||||
while len(version) < 4:
|
||||
version.append(0)
|
||||
fingerprint = lt.fingerprint("DE", *version)
|
||||
|
||||
# Start the libtorrent session
|
||||
|
|
Loading…
Add table
Reference in a new issue