Skip to content

Fix "AttributeError: module 'pygments' has no attribute 'token'"

Running gajim master branch ( 30d1d81ee5dd8d26deff70d84f49002247f5a540 ) with Python 3.7.6, pygments would fail with:

AttributeError: module 'pygments' has no attribute 'token'

adding import pygments.token appears to fix this.

Merge request reports