Skip to content

local variable 'filename' referenced before assignment #1

@shrestharikesh

Description

@shrestharikesh

when i try to display image on other page the error pops out on this line:
return render_template("upload.html", image_path=filename)
But in your video tutorial I saw it didn't matter although the error existed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions