AttributeError | Python 3.9.1: /usr/bin/python Mon Mar 1 17:24:45 2021 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/WEB/mcfletch/eyecandy/index.py in <module> |
29 links = [] |
30 for target, source, description in records(): |
=> 31 target = cgi.escape( target ) |
32 source = cgi.escape( source ) |
33 links.append( |
target = 'http://www.vrplumber.com/portfoli/full/sketch hand with grains of sand.jpg', cgi = <module 'cgi' from '/usr/local/lib/python3.9/cgi.py'>, cgi.escape undefined |
AttributeError: module 'cgi' has no attribute 'escape'
args =
("module 'cgi' has no attribute 'escape'",)
with_traceback =
<built-in method with_traceback of AttributeError object>