import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../config/create-postgres.sql', 'r', encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()



import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../../../config/create-postgres.sql',
                     'r',
                     encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()



Fix the path to create-postgres.sql
Fix the path to create-postgres.sql

  import codecs
  from frameworkbenchmarks.models import DBSession
  
  if __name__ == "__main__":
      """
      Initialize database
      """
-     with codecs.open('../config/create-postgres.sql', 'r', encoding='utf-8') as fp:
+     with codecs.open('../../../config/create-postgres.sql',
+                      'r',
+                      encoding='utf-8') as fp:
          sql = fp.read()
      DBSession.execute(sql)
      DBSession.commit()
  
  
  
Fix the path to create-postgres.sql
## Code Before:
import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../config/create-postgres.sql', 'r', encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()



## Instruction:
Fix the path to create-postgres.sql
## Code After:
import codecs
from frameworkbenchmarks.models import DBSession

if __name__ == "__main__":
    """
    Initialize database
    """
    with codecs.open('../../../config/create-postgres.sql',
                     'r',
                     encoding='utf-8') as fp:
        sql = fp.read()
    DBSession.execute(sql)
    DBSession.commit()


