Skip to content

Error: Name "white" is not defined in editor.py #3

@midnightdoggo19

Description

@midnightdoggo19

File "~/PirateMaker/00_start_code/editor.py", line 17, in run
self.display_surface.fill(white)
NameError: name 'white' is not defined

This happens when trying to run main.py, as it tries to reference editor.py, which then throws an error.

Screenshot:
piratebuilder_error

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