mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-27 22:03:32 +01:00
Cleanup get_image_path usage.
This commit is contained in:
@@ -635,9 +635,8 @@ def read_custom_tweaks():
|
||||
|
||||
|
||||
def default_tweaks_raw():
|
||||
with open(pkg_resources.resource_filename('ebook_converter',
|
||||
'data/default_tweaks.py')) as f:
|
||||
return f.read().encode()
|
||||
return pkg_resources.resource_filename('ebook_converter',
|
||||
'data/default_tweaks.py')
|
||||
|
||||
|
||||
def read_tweaks():
|
||||
|
||||
Reference in New Issue
Block a user