• Frederik Kriewitz's avatar
    Fix render() encoding · 1a9d7416
    Frederik Kriewitz authored
    Fixes exceptions like this:
    ERROR in CGI: Traceback (most recent call last):
      File "/var/www/html/ulg.py", line 785, in <module>
        handler.index(**params)
      File "/var/www/html/ulg.py", line 722, in index
        print self.renderULGIndex()
    UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
    position 6254: ordinal not in range(128)
    Signed-off-by: 's avatarTomas Hlavacek <tmshlvck@gmail.com>
    1a9d7416
Name
Last commit
Last update
images Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
CREDITS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
config.py.example Loading commit data...
defaults.py Loading commit data...
style.css Loading commit data...
tests.py Loading commit data...
tinybox.js Loading commit data...
ulg-cron.py Loading commit data...
ulg.py Loading commit data...
ulgbird.py Loading commit data...
ulgcisco.py Loading commit data...
ulggraph.py Loading commit data...
ulgjuniper.py Loading commit data...
ulgmodel.py Loading commit data...
whois.py Loading commit data...