Skip to content

Commit 1695736

Browse files
committed
🔥 🎨 clean code
1 parent ce6495b commit 1695736

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

code_counter/core/countable/file.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ async def count(self):
5050
try:
5151
line = raw_line.strip()
5252
except UnicodeDecodeError:
53-
# try:
54-
# # If the code line contain Chinese string, decode it as gbk
55-
# line = raw_line.strip().decode('gbk')
56-
# except UnicodeDecodeError:
5753
self._format_output.append(
5854
'\n\t{:>10} | decode line occurs a problem, non-count it, at File "{}", line {}:'.format(
5955
'WARN', self._path, line_number))

0 commit comments

Comments
 (0)