diff options
author | nea <romangraef@gmail.com> | 2022-11-21 03:11:42 +0100 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-11-21 03:11:42 +0100 |
commit | 2332015396d757fa7af1bc3ccbac04a9384fd49c (patch) | |
tree | 6138680ea9d89de0214455a0a4ce8a3f2f739d34 /sbdata/repo.py | |
parent | eff90addc24dcbb271525e9c322b52c4bb3bcbd5 (diff) | |
download | sbdata-2332015396d757fa7af1bc3ccbac04a9384fd49c.tar.gz sbdata-2332015396d757fa7af1bc3ccbac04a9384fd49c.tar.bz2 sbdata-2332015396d757fa7af1bc3ccbac04a9384fd49c.zip |
Terrible pet nbts
Diffstat (limited to 'sbdata/repo.py')
-rw-r--r-- | sbdata/repo.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbdata/repo.py b/sbdata/repo.py index 8d736d9..b57062b 100644 --- a/sbdata/repo.py +++ b/sbdata/repo.py @@ -53,6 +53,10 @@ def load_items(): load_item(item) +def get_item_file(name): + return repo_dir / 'items' / (name + '.json') + + def load_repo_data(): item_list.clear() load_items() |