mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
upgraded wakatime package
This commit is contained in:
parent
b836f26226
commit
fce10cea07
@ -14,11 +14,11 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info[0] == 2:
|
if sys.version_info[0] == 2:
|
||||||
from pygments2.lexers import guess_lexer
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'pygments2'))
|
||||||
from pygments2.util import ClassNotFound
|
|
||||||
else:
|
else:
|
||||||
from pygments3.lexers import guess_lexer
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'pygments3'))
|
||||||
from pygments3.util import ClassNotFound
|
from pygments.lexers import guess_lexer
|
||||||
|
from pygments.util import ClassNotFound
|
||||||
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user