|
@@ -34,6 +34,8 @@ def home():
|
|
|
capture_output=True,
|
|
capture_output=True,
|
|
|
text=True
|
|
text=True
|
|
|
)
|
|
)
|
|
|
|
|
+ # clean up
|
|
|
|
|
+ p2 = sp.run(f'rm app/static/generated/{ralphanum}.csv', shell=True)
|
|
|
return redirect(p1.stdout, code=302)
|
|
return redirect(p1.stdout, code=302)
|
|
|
|
|
|
|
|
# initialize dictionary of bookmarks and groups
|
|
# initialize dictionary of bookmarks and groups
|
|
@@ -111,6 +113,7 @@ def shared():
|
|
|
|
|
|
|
|
return render_template('shared.html', user=current_user, bdic=bb_dic)
|
|
return render_template('shared.html', user=current_user, bdic=bb_dic)
|
|
|
|
|
|
|
|
|
|
+# Create new bookmark
|
|
|
@logic.route('/create', methods=['GET', 'POST'])
|
|
@logic.route('/create', methods=['GET', 'POST'])
|
|
|
@login_required
|
|
@login_required
|
|
|
def create():
|
|
def create():
|