from flask import Flask
from madam import Madam

app = Flask(__name__)
app.from_object('config')

asset_manager = Madam()
asset_storage = app.config['ASSET_STORAGE']

from madam_rest import views

import madam
from flask import Flask

app = Flask(__name__)
app.from_object('config')

asset_manager = madam.Madam()
asset_storage = madam.core.ShelveStorage(app.config['ASSET_STORAGE_PATH'])

from madam_rest import views

Create shelve asset storage by default.
Create shelve asset storage by default.

+ import madam
  from flask import Flask
- from madam import Madam
  
  app = Flask(__name__)
  app.from_object('config')
  
- asset_manager = Madam()
+ asset_manager = madam.Madam()
- asset_storage = app.config['ASSET_STORAGE']
+ asset_storage = madam.core.ShelveStorage(app.config['ASSET_STORAGE_PATH'])
  
  from madam_rest import views
  
Create shelve asset storage by default.
## Code Before:
from flask import Flask
from madam import Madam

app = Flask(__name__)
app.from_object('config')

asset_manager = Madam()
asset_storage = app.config['ASSET_STORAGE']

from madam_rest import views

## Instruction:
Create shelve asset storage by default.
## Code After:
import madam
from flask import Flask

app = Flask(__name__)
app.from_object('config')

asset_manager = madam.Madam()
asset_storage = madam.core.ShelveStorage(app.config['ASSET_STORAGE_PATH'])

from madam_rest import views
