Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a path problem if execed from inside Engine/

  • Loading branch information...
commit 8c2a57a98b70966516670ec300f5d3e26a374c3d 1 parent fd47031
@fabianhjr authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Engine/__main__.py
View
4 Engine/__main__.py
@@ -3,6 +3,7 @@
##########
# StdLib
print "=== Cargando Libreria Estandard ==="
+from os import *
from sys import *
from time import *
from math import *
@@ -17,6 +18,9 @@
##########
# Engine
+print path
+print "=== Cargando Engine ==="
+if path[0].split("/")[-1] == "Engine": chdir("../")
path.append("./")
import config, object
from loaders import obj, glsl

0 comments on commit 8c2a57a

Please sign in to comment.
Something went wrong with that request. Please try again.