Changeset 1973


Ignore:
Timestamp:
09/04/07 12:34:08 (12 years ago)
Author:
jukka
Message:

Fixed import error for windows-based systems which won't have fcntl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LatexTool.py

    r1972 r1973  
    3030from DocumentTemplate.html_quote import html_quote 
    3131from string import strip, join, replace 
    32 import os, sys, re, zLOG, string, math, popen2, select, fcntl 
     32import os, sys, re, zLOG, string, math, popen2, select 
    3333from struct import pack, unpack 
    3434from cgi import escape 
     
    3636from Products.CMFCore.utils import getToolByName 
    3737 
    38  
    3938try: 
     39    import fcntl 
    4040    from PIL import Image, ImageFile, ImageChops, PngImagePlugin 
    4141except ImportError: 
    42     pass 
     42    LATEX_IMAGES_STORAGE_PATH='' # No local latex for you 
    4343 
    4444 
Note: See TracChangeset for help on using the changeset viewer.