ttttdiva commited on
Commit
a1f2a21
·
verified ·
1 Parent(s): bbb27d2

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -219,7 +219,7 @@ class CivitAICrawler:
219
  return
220
 
221
  # 暗号化後のフォルダが生成されるベースパス (例: /app/encrypted)
222
- encrypted_base_dir = "/app/encrypted"
223
  os.makedirs(encrypted_base_dir, exist_ok=True)
224
 
225
  # rclone実行前の /app/encrypted の状態を取得 (新規フォルダ検出用)
@@ -231,6 +231,7 @@ class CivitAICrawler:
231
  # type = crypt
232
  # remote = /app/encrypted
233
  # filename_encryption = standard
 
234
  # password = ****
235
  # 等が設定されている想定
236
  try:
 
219
  return
220
 
221
  # 暗号化後のフォルダが生成されるベースパス (例: /app/encrypted)
222
+ encrypted_base_dir = os.path.join(os.getcwd(), "encrypted")
223
  os.makedirs(encrypted_base_dir, exist_ok=True)
224
 
225
  # rclone実行前の /app/encrypted の状態を取得 (新規フォルダ検出用)
 
231
  # type = crypt
232
  # remote = /app/encrypted
233
  # filename_encryption = standard
234
+ # directory_name_encryption = true
235
  # password = ****
236
  # 等が設定されている想定
237
  try: