Skip to content

Commit 2bdeab4

Browse files
authored
minor refactoring bug fix
1 parent e781322 commit 2bdeab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compare50/_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def get(cls, id):
217217
def unprocessed_tokens(self):
218218
"""Get the raw tokens of the file."""
219219
text = self.read()
220-
lexer_tokens = lexer.lexer().get_tokens_unprocessed(text)
220+
lexer_tokens = self.lexer().get_tokens_unprocessed(text)
221221
tokens = []
222222
prevToken = None
223223
for token in lexer_tokens:

0 commit comments

Comments
 (0)