import spyral
import pygame

def init():
    spyral.event.init()
    pygame.init()
    pygame.font.init()


def quit():
    pygame.quit()
    spyral.director._stack = []
import spyral
import pygame

_inited = False

def init():
    global _inited
    if _inited:
        return
    _inited = True
    spyral.event.init()
    pygame.init()
    pygame.font.init()

def quit():
    pygame.quit()
    spyral.director._stack = []
Remove poor way of doing default styles
Remove poor way of doing default styles

Signed-off-by: Robert Deaton <eb00a885478926d5d594195591fb94a03acb1062@udel.edu>

  import spyral
  import pygame
  
+ _inited = False
+ 
  def init():
+     global _inited
+     if _inited:
+         return
+     _inited = True
      spyral.event.init()
      pygame.init()
      pygame.font.init()
  
- 
  def quit():
      pygame.quit()
      spyral.director._stack = []
Remove poor way of doing default styles
## Code Before:
import spyral
import pygame

def init():
    spyral.event.init()
    pygame.init()
    pygame.font.init()


def quit():
    pygame.quit()
    spyral.director._stack = []
## Instruction:
Remove poor way of doing default styles
## Code After:
import spyral
import pygame

_inited = False

def init():
    global _inited
    if _inited:
        return
    _inited = True
    spyral.event.init()
    pygame.init()
    pygame.font.init()

def quit():
    pygame.quit()
    spyral.director._stack = []