allow it to start when cdecimal is missing

This commit is contained in:
Steffen Schaumburg 2011-02-25 14:31:15 +01:00
parent 145a4a6cb2
commit 140ad6be5f
2 changed files with 6 additions and 5 deletions

View File

@ -38,7 +38,12 @@ import sys
import traceback import traceback
from datetime import datetime, date, time, timedelta from datetime import datetime, date, time, timedelta
from time import time, strftime, sleep from time import time, strftime, sleep
from decimal import Decimal
try:
from cdecimal import *
except ImportError:
from decimal import *
import string import string
import re import re
import Queue import Queue

View File

@ -1,4 +0,0 @@
try:
from cdecimal import *
except ImportError:
from decimal import *