Skip to content

Commit

Permalink
xdccq.py 0.1.2: make script compatible with Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
maciesse authored and flashcode committed Oct 6, 2023
1 parent d59798d commit 22c29b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/xdccq.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# coding=UTF-8

SCRIPT_NAME = "xdccq"
SCRIPT_AUTHOR = "Randall Flagg <shinigami_flagg@yahoo.it>"
SCRIPT_VERSION = "0.1.1"
SCRIPT_VERSION = "0.1.2"
SCRIPT_LICENSE = "GPL3"
SCRIPT_DESC = "Queue Xdcc messages to bots"

Expand Down Expand Up @@ -119,7 +117,7 @@ def numToList(string):
step = int(nx[1])
if low > high:
raise ValueError("number")
ret += range(low, high, step)
ret += list(range(low, high, step))
except ValueError:
raise ValueError("number")
else:
Expand Down

0 comments on commit 22c29b3

Please sign in to comment.