From 889c7b8caec8fc0b9c7a583ed1d9cfa43518fc42 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 1 Mar 2025 19:51:39 -0500 Subject: New upstream version 1.29.0. --- gallery_dl/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gallery_dl/util.py') diff --git a/gallery_dl/util.py b/gallery_dl/util.py index 2302088..7034c0c 100644 --- a/gallery_dl/util.py +++ b/gallery_dl/util.py @@ -770,7 +770,7 @@ def import_file(path): finally: del sys.path[0] else: - return __import__(name) + return __import__(name.replace("-", "_")) def build_duration_func(duration, min=0.0): -- cgit v1.2.3