From: Oleg Broytman Date: Thu, 27 Oct 2022 15:18:30 +0000 (+0300) Subject: Fix deprecated open mode `rU` -> `r` X-Git-Tag: 5.1.0~18 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d6edab4a0f2b32288b355269da94813007c6ba00;p=xsetbg.git Fix deprecated open mode `rU` -> `r` --- diff --git a/reload_db.py b/reload_db.py index 3c9c56e..ff1c3a6 100755 --- a/reload_db.py +++ b/reload_db.py @@ -20,7 +20,7 @@ def convert_str(s): fs_encoding = xsetbg_conf.get("images", "fs_encoding") -dump_file = open(sys.argv[1], 'rU') +dump_file = open(sys.argv[1], 'r') xsetbg_db = recreate_db() count_new = count_old = 0