修正全局变量的获取
This commit is contained in:
@@ -7,7 +7,7 @@ from opencc import OpenCC
|
||||
from tenacity import retry, stop_after_attempt, wait_random
|
||||
|
||||
from log import PROJECT_ROOT
|
||||
from photo_review import BATCH_ID
|
||||
from photo_review import get_batch_id
|
||||
from util import string_util, model_util
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ def get_tmp_img_path(img_full_name):
|
||||
|
||||
|
||||
def get_processed_img_path(img_full_name):
|
||||
return os.path.join(str(get_tmp_img_path(BATCH_ID)), img_full_name)
|
||||
return os.path.join(str(get_tmp_img_path(get_batch_id())), img_full_name)
|
||||
|
||||
|
||||
def parse_save_path(img_path):
|
||||
|
||||
Reference in New Issue
Block a user