Mercurial > skaapsteker
diff scripts/level-editor @ 29:10c067be3e8f
Patch sys.path
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 03 Apr 2011 18:42:32 +0200 |
parents | 3d70de522b11 |
children | 60d5673f9d4a |
line wrap: on
line diff
--- a/scripts/level-editor Sun Apr 03 18:41:52 2011 +0200 +++ b/scripts/level-editor Sun Apr 03 18:42:32 2011 +0200 @@ -2,6 +2,11 @@ "Skaapsteker level editor" import optparse +import os.path +import sys + +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), + '..'))) import pygame import pygame.key