Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74a7c7b

Browse files
committed
Fix import error
1 parent 4ad80be commit 74a7c7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymode/lint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ def code_check():
6565
return env.stop()
6666

6767
if env.options.get('debug'):
68-
from pylama.core import LOGGER, logging
68+
import logging
69+
from pylama.core import LOGGER
6970
LOGGER.setLevel(logging.DEBUG)
7071

7172
errors = run(path, code='\n'.join(env.curbuf) + '\n', options=options)

0 commit comments

Comments
 (0)