Mercurial > skaapsteker
changeset 31:6f1e43d2fda8
Gaar. That's not what I meant
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 03 Apr 2011 18:49:36 +0200 |
parents | 60d5673f9d4a |
children | 8abd0d6e8c61 |
files | scripts/level-editor scripts/skaapsteker |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/level-editor Sun Apr 03 18:45:10 2011 +0200 +++ b/scripts/level-editor Sun Apr 03 18:49:36 2011 +0200 @@ -5,7 +5,7 @@ import os.path import sys -sys.path.insert(0, os.path.abspath(os.path.abspath(__file__))) +sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) import pygame import pygame.key
--- a/scripts/skaapsteker Sun Apr 03 18:45:10 2011 +0200 +++ b/scripts/skaapsteker Sun Apr 03 18:49:36 2011 +0200 @@ -2,7 +2,7 @@ import os.path import sys -sys.path.insert(0, os.path.abspath(os.path.abspath(__file__))) +sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) import skaapsteker.__main__ if __name__ == "__main__":