Commit c5c6aa77 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Remove special code for pyinstaller [not required]

parent d4b84f70
......@@ -32,12 +32,7 @@ def launch(mode="webserver", debug=False):
app_title = "D-GENIES - Dotplot large Genomes in an Interactive, Efficient and Simple way"
# Init Flask:
if getattr(sys, 'frozen', False):
template_folder = os.path.join(sys.executable, '..', 'templates')
static_folder = os.path.join(sys.executable, '..', 'static')
app = Flask(__name__, template_folder=template_folder, static_folder=static_folder)
app = Flask(__name__, static_url_path='/static')
app = Flask(__name__, static_url_path='/static')
app.config['MAX_CONTENT_LENGTH'] = config_reader.max_upload_file_size
app.config['SECRET_KEY'] = 'dsqdsq-255sdA-fHfg52-25Asd5'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment