dj86 commited on
Commit
c305809
โ€ข
1 Parent(s): de2e37a

Update vlog4chat.py

Browse files
Files changed (1) hide show
  1. vlog4chat.py +1 -1
vlog4chat.py CHANGED
@@ -165,7 +165,7 @@ class Vlogger4chat :
165
  self.data_dir = self.data_dir[0] # ๆˆ–่€…ๆ นๆฎๅฎž้™…ๆƒ…ๅ†ต้€‰ๆ‹ฉๅˆ้€‚็š„็ดขๅผ•
166
  if isinstance(video_id, tuple):
167
  video_id = video_id[0] # ๆˆ–่€…ๆ นๆฎๅฎž้™…ๆƒ…ๅ†ต้€‰ๆ‹ฉๅˆ้€‚็š„็ดขๅผ•
168
- log_path = os.path.join(self.data_dir, f"{video_id}.log")
169
  #print(f"log_path: {log_path}\n")
170
 
171
  if os.path.exists(log_path):
 
165
  self.data_dir = self.data_dir[0] # ๆˆ–่€…ๆ นๆฎๅฎž้™…ๆƒ…ๅ†ต้€‰ๆ‹ฉๅˆ้€‚็š„็ดขๅผ•
166
  if isinstance(video_id, tuple):
167
  video_id = video_id[0] # ๆˆ–่€…ๆ นๆฎๅฎž้™…ๆƒ…ๅ†ต้€‰ๆ‹ฉๅˆ้€‚็š„็ดขๅผ•
168
+ log_path = f"./{video_id}.log" #os.path.join(self.data_dir, f"{video_id}.log")
169
  #print(f"log_path: {log_path}\n")
170
 
171
  if os.path.exists(log_path):