diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-26 16:47:22 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-09-27 19:29:54 +0100 |
commit | 3b0a4d7346cef0091b00ad0cc6610476fdea61d1 (patch) | |
tree | 3b3dc459959c8201bb96f9b0377512e0017157df /morph | |
parent | 8720a665cb2203ff512f992a72a2d92678a9c613 (diff) | |
download | morph-3b0a4d7346cef0091b00ad0cc6610476fdea61d1.tar.gz |
Save __file__ so we can recursively run morph later on
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,5 +17,8 @@ import morphlib +import os.path -morphlib.app.Morph(version=morphlib.__version__).run() +app = morphlib.app.Morph(version=morphlib.__version__) +app.__file__ = os.path.realpath(__file__) +app.run() |