Creating rotating 3D wireframe cube

Hello! I’m attempting to create a rotating 3D wireframe cube and I’m having trouble getting it to be drawn to the screen. I’m using pyglet/OpenGL (imported as gl) and the body of code that I have below works fine for drawing 2D shapes (like triangles, i.e. GL_TRIANGLE) but shows up blank for the edges loop. I am fairly new to both PsychoPy and OpenGL so if you see where I went wrong please let me know!

Note: this code is only for rendering a static 3D cube; I have not attempted rotation yet.