X Tutup
Skip to content

Commit 98c489c

Browse files
committed
Fix Python 3
1 parent a86fc6c commit 98c489c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def to_dict(self):
5858
"""
5959
data = dict()
6060

61-
for key, value in self.__dict__.iteritems():
61+
for key, value in self.__dict__.items():
6262
if value:
6363
if hasattr(value, 'to_dict'):
6464
data[key] = value.to_dict()

0 commit comments

Comments
 (0)
X Tutup