Skip to content

Commit b3a3444

Browse files
Merge branch 'master' of github.com:pythonprobr/pythonbirds
2 parents 8d83d82 + fbe4761 commit b3a3444

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# -*- coding: utf-8 -*-
2+
from os import path
3+
import sys
4+
5+
project_dir = path.dirname(__file__)
6+
project_dir = path.join('..')
7+
sys.path.append(project_dir)
28

3-
from __future__ import unicode_literals
49
from atores import PassaroAmarelo, PassaroVermelho, Obstaculo, Porco
510
from fase import Fase
611
from placa_grafica_tkinter import rodar_fase
712

8-
if __name__=='__main__':
13+
if __name__ == '__main__':
914
fase = Fase(intervalo_de_colisao=10)
1015

1116

0 commit comments

Comments
 (0)