diff --git a/deluge/common.py b/deluge/common.py index 6dc03dcf4..f21e4b14c 100644 --- a/deluge/common.py +++ b/deluge/common.py @@ -781,7 +781,7 @@ class VersionSplit(object): ver = ver.lower() vs = ver.replace("_", "-").split("-") - self.version = [int(x) for x in vs[0].split(".")] + self.version = [int(x) for x in vs[0].split(".") if x.isdigit()] self.suffix = None self.dev = False if len(vs) > 1: