Skip to content

Commit

Permalink
fix pylint error
Browse files Browse the repository at this point in the history
  • Loading branch information
giloser committed Mar 22, 2021
1 parent 0eb8df6 commit 2573f6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions octoprint_telegram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ def is_in_python_2():
return True
return False

if is_in_python_2():
from __future__ import StringIO
bytes_reader_class = StringIO.StringIO

#if is_in_python_2():
# from __future__ import StringIO
# bytes_reader_class = StringIO.StringIO

####################################################
# TelegramListener Thread Class
Expand Down

0 comments on commit 2573f6b

Please sign in to comment.