Commits

Nikhil Marathe committed aba50bd

Use push_state.

  • Participants
  • Parent commits e257933

Comments (0)

Files changed (1)

File src/fileadelphia/main.py

         if len(sys.argv) > 1:
         	directory = os.path.abspath(sys.argv[1])
 
-        self.state_stack.append(TransitionState(StartState(), City(directory)))
+        self.push_state(TransitionState(StartState(), City(directory)))
         self.time_prev = self.time_curr = self.milliseconds()
         self.accumulator = 0