CORRECCIÓN: arreglar excepciones silenciosas y limpiar scripts

This commit is contained in:
Nachou-u
2026-09-09 08:28:09 -03:00
parent 5d9e0f4589
commit 29c447c23e
11 changed files with 7 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
import re
with open('docker-compose.yml', 'r') as f:
content = f.read()
new_service = """ tax-api:
build: ./tax_api
ports:
- "8001:8000"
restart: unless-stopped
celery:"""
content = content.replace(' celery:', new_service)
with open('docker-compose.yml', 'w') as f:
f.write(content)