Skip to content

Cannot read from file without saving on disk #3

Description

@ZNevzz
#read from upload File viz FileStorage object

def _read_from_file(file):
    _file_content = None
    try:
        _file_content = file.read()
        util.debug_store['file_content at datagatherer'] = _file_content
    except IOError as io_error:
        util.debug_store['io_error at datagatherer'] = io_error.__traceback__
        raise io_error
    else:
        return _file_content

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions