Skip to content

Commit 8206661

Browse files
committed
Fix failing py3 builds attempt 4
1 parent 5d939b1 commit 8206661

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

telebot/apihelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import types
66

77
from telebot import util
8-
from util import logger
8+
from telebot import logger
99

1010
API_URL = "https://api.telegram.org/bot{0}/{1}"
1111
FILE_URL = "https://api.telegram.org/file/bot{0}/{1}"

telebot/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import re
55
import sys
66
import six
7-
from six import string_types
87

98
import logging
109

@@ -160,7 +159,7 @@ def wrapper(*args, **kwargs):
160159

161160

162161
def is_string(var):
163-
return isinstance(var, string_types)
162+
return isinstance(var, six.string_types)
164163

165164

166165
def is_command(text):

0 commit comments

Comments
 (0)