Fixing Attributeerror Str Object Has No Attribute Cursor In Python

Fixing Attributeerror Str Object Has No Attribute Cursor In Python