autoping.py

Steve Mallett <steve-fTnwE9c4v89Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hi folks,

I've just setup pyblosxom (which is working swimmingly), am new to 
python & am having an 'issue' with autoping.py.

Should:

# Please change this value to where you pyblosxom is installed.
#BASEURL = 'http://roughingit.subtlehints.net/pyblosxom/'
# Modify this to where your pyblosxom and config.py is installed
sys.path.append('/var/www/cgi-bin/config')
sys.path.append('/var/www/cgi-bin/Pyblosxom/')

causing this error:
sys.path.append('/var/www/cgi-bin/config')
NameError: name 'sys' is not defined

I've tried every variation of the setting I can think of.

-- 
Steve Mallett
http://steve.osdir.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.