diff --git a/twander.py b/twander.py index 15ee1cc..6f9f4ce 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.101 2003/02/23 22:33:50 tundra Exp $" +RCSID = "$Id: twander.py,v 3.102 2003/02/23 22:43:38 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -28,7 +28,6 @@ import re from socket import getfqdn from stat import * -from string import atoi import sys import thread import time @@ -1209,9 +1208,9 @@ def StringToNum(string): if string.lower().startswith('0x'): - value = atoi(string, 16) + value = int(string, 16) else: - value = atoi(string) + value = int(string, 10) return value