This commit is contained in:
Mateusz779 2023-04-12 15:49:11 +02:00
parent 7cccf49e00
commit e722808e63

5
app.py
View File

@ -2,10 +2,9 @@ from flask import Flask, send_file, jsonify, request
import db import db
import os import os
from werkzeug.utils import secure_filename from werkzeug.utils import secure_filename
from subprocess import Popen, PIPE import subprocess
process = Popen(['wssh','--fbidhttp=False'], stdout=PIPE, stderr=PIPE) process = subprocess.run(['wssh','--fbidhttp=False'])
process.communicate()
app = Flask(__name__) app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = "configs/squash" app.config['UPLOAD_FOLDER'] = "configs/squash"