diff options
Diffstat (limited to 'wrapper.py')
| -rw-r--r-- | wrapper.py | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -18,8 +18,12 @@ import importlib.util | |||
| 18 | import os | 18 | import os |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | def WrapperDir(): | ||
| 22 | return os.path.dirname(__file__) | ||
| 23 | |||
| 24 | |||
| 21 | def WrapperPath(): | 25 | def WrapperPath(): |
| 22 | return os.path.join(os.path.dirname(__file__), "repo") | 26 | return os.path.join(WrapperDir(), "repo") |
| 23 | 27 | ||
| 24 | 28 | ||
| 25 | @functools.lru_cache(maxsize=None) | 29 | @functools.lru_cache(maxsize=None) |
