Skip to content
Snippets Groups Projects

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

Closed Justin Hornosty requested to merge jjrh/gajim-plugins:syntax_hightlight-fixImport into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading