qwqcc commited on
Commit
67f2133
·
verified ·
1 Parent(s): d4186fc

Update bootstrap.py

Browse files
Files changed (1) hide show
  1. bootstrap.py +9 -0
bootstrap.py CHANGED
@@ -277,6 +277,15 @@ if jj_dir.exists():
277
  print("[bootstrap] Loaded JJ meme pack", flush=True)
278
  else:
279
  print("[bootstrap] JJ meme pack not found; skipping", flush=True)
 
 
 
 
 
 
 
 
 
280
  register_routers()
281
 
282
  # Static mount for aggregated data if present
 
277
  print("[bootstrap] Loaded JJ meme pack", flush=True)
278
  else:
279
  print("[bootstrap] JJ meme pack not found; skipping", flush=True)
280
+
281
+ # Load tudou-meme pack if present
282
+ tudou_dir = Path("/app/tudou-meme/meme")
283
+ if tudou_dir.exists():
284
+ load_memes(str(tudou_dir))
285
+ print("[bootstrap] Loaded tudou meme pack", flush=True)
286
+ else:
287
+ print("[bootstrap] tudou meme pack not found; skipping", flush=True)
288
+
289
  register_routers()
290
 
291
  # Static mount for aggregated data if present