debug-viewer: Remove unnecessary call to gettext.bind_textdomain_codeset()

It has been deprecated in Python 3.8 and removed in 3.10

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5027>
This commit is contained in:
Olivier Crête 2023-07-12 14:57:28 -06:00 committed by GStreamer Marge Bot
parent 9a902afce4
commit 98217f1892

View file

@ -314,7 +314,6 @@ def _init_locale(gettext_domain=None):
else: else:
gettext.bindtextdomain(gettext_domain, Paths.locale_dir) gettext.bindtextdomain(gettext_domain, Paths.locale_dir)
gettext.textdomain(gettext_domain) gettext.textdomain(gettext_domain)
gettext.bind_textdomain_codeset(gettext_domain, "UTF-8")
def _init_logging(level): def _init_logging(level):