diff --git a/i2p2www/formatters.py b/i2p2www/formatters.py index 598269f5b52c58f5988b6d4ef0c293d76e8b30c5..8b915b252546e0dd315c253bf4901cf209efe286 100644 --- a/i2p2www/formatters.py +++ b/i2p2www/formatters.py @@ -713,7 +713,7 @@ class I2PHtmlFormatter(Formatter): parts = value.translate(escape_table).split('\n') - if tagsfile and ttype in Token.Name: + if tagsfile and ttype in Token.Name.Class: filename, kind = self._lookup_ctag(value) if kind: base, filename = os.path.split(filename)