Commit ccc0f6ac authored by Your Name's avatar Your Name

Fix: Set file path for images module in main.py

parent 5bddb025
...@@ -90,6 +90,10 @@ def main(): ...@@ -90,6 +90,10 @@ def main():
global_file_path = args.file_path global_file_path = args.file_path
set_global_file_path(global_file_path) set_global_file_path(global_file_path)
# Also set file path for images module
from codai.api.images import set_global_file_path as set_images_file_path
set_images_file_path(global_file_path)
if global_debug: if global_debug:
# Print the full command line that was used to invoke codai # Print the full command line that was used to invoke codai
import shlex import shlex
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment