BloodyInside commited on
Commit
d34638f
1 Parent(s): 3601b10
Dockerfile CHANGED
@@ -70,6 +70,7 @@ RUN bash -c 'export HOST=$(cat /secrets/HOST) && \
70
  python manage.py migrate --database=DB1 && \
71
  python manage.py migrate --database=DB2'
72
 
 
73
 
74
 
75
  CMD ["uvicorn", "core.asgi:application", "--host", "0.0.0.0", "--port", "7860", "--log-level", "debug"]
 
70
  python manage.py migrate --database=DB1 && \
71
  python manage.py migrate --database=DB2'
72
 
73
+ RUN rm -rf /secrets
74
 
75
 
76
  CMD ["uvicorn", "core.asgi:application", "--host", "0.0.0.0", "--port", "7860", "--log-level", "debug"]
backend/invoke_worker/chapter_queue.py CHANGED
@@ -45,6 +45,7 @@ class Job(Thread):
45
  else: break
46
 
47
  if (query_result):
 
48
  socket_id = query_result.socket_id
49
  channel_name = query_result.channel_name
50
  source = query_result.source
@@ -55,7 +56,7 @@ class Job(Thread):
55
  if (options.get("translate").get("state")):
56
  target_lang = options.get("translate").get("target")
57
  else: target_lang = ""
58
-
59
  stored = ComicStorageCache.objects.filter(
60
  source=source,
61
  comic_id=comic_id,
 
45
  else: break
46
 
47
  if (query_result):
48
+
49
  socket_id = query_result.socket_id
50
  channel_name = query_result.channel_name
51
  source = query_result.source
 
56
  if (options.get("translate").get("state")):
57
  target_lang = options.get("translate").get("target")
58
  else: target_lang = ""
59
+ print(options)
60
  stored = ComicStorageCache.objects.filter(
61
  source=source,
62
  comic_id=comic_id,