from bottle import debug, run, default_app, get, view, request, post, redirect
import os
import json
from bottle import debug, run, default_app, get, view, request, post, redirect
import os
import json
path_card = cards_dir + card_id
if os.path.exists(path_card):
with open(path_card, 'r') as f:
path_card = cards_dir + card_id
if os.path.exists(path_card):
with open(path_card, 'r') as f: