Upload main.py
Browse files
main.py
CHANGED
@@ -219,7 +219,7 @@ class CivitAICrawler:
|
|
219 |
return
|
220 |
|
221 |
# 暗号化後のフォルダが生成されるベースパス (例: /app/encrypted)
|
222 |
-
encrypted_base_dir = "
|
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:
|