Skip to content

Commit f28992c

Browse files
committed
Yet another fix for the encoding problems
1 parent beaf88a commit f28992c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
__copyright__ = "Copyright (C) 2017-2018 Dan Tès <https://github.com/delivrance>".replace(
2222
"\xe8",
23-
"e" if sys.getfilesystemencoding() == "ascii" else "\xe8"
23+
"e" if sys.getfilesystemencoding() != "utf-8" else "\xe8"
2424
)
2525
__license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)"
2626
__version__ = "0.6.4"

0 commit comments

Comments
 (0)