mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-25 19:00:04 -05:00
make a simple join function in data/
This commit is contained in:
@@ -7,3 +7,9 @@ import os as _os
|
||||
|
||||
# path to where these files are located
|
||||
path = _os.path.abspath(_os.path.dirname(__file__))
|
||||
|
||||
def join(filename, path=path):
|
||||
"""
|
||||
Construct the absolute path to the file.
|
||||
"""
|
||||
return _os.path.join(path, filename)
|
||||
|
||||
Reference in New Issue
Block a user