diff --git a/main.py b/main.py
index 3b223a7..de81730 100644
--- a/main.py
+++ b/main.py
@@ -276,8 +276,9 @@ def buildPort():
return redirect(url_for('index'))
# Stop frequently building strategy
if time.time() - session['lastCreateTime'] < 60:
- print("UNTIL: ", time.time()-session['lastCreateTime'])
- return '''投資組合建立時間間隔(或與登入時間間隔)必須大於60秒!'''
+ less = round(time.time()-session['lastCreateTime'], 1)
+ print("UNTIL: ", less)
+ return f'投資組合建立時間間隔(或與登入時間間隔)必須大於60秒!差距: {less} 秒。'
session['lastCreateTime'] = time.time()
for key in request.form:
print(key, request.form[key], type(request.form[key]))
diff --git a/templates/base.html b/templates/base.html
index 3f83037..b67284d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -417,8 +417,6 @@
}
};
-
-
{% endblock %}