Revision bbbe2cfa
b/api/actions.py | ||
---|---|---|
77 | 77 |
vnc = { 'host': '62.217.120.67', 'port': sport, 'password': passwd } |
78 | 78 |
|
79 | 79 |
# Format to be reviewed by [verigak], FIXME |
80 |
if request.type == 'xml':
|
|
80 |
if request.serialization == 'xml':
|
|
81 | 81 |
mimetype = 'application/xml' |
82 | 82 |
data = render_to_string('vnc.xml', {'vnc': vnc}) |
83 | 83 |
else: |
Also available in: Unified diff