diff options
| author | vg <vgm+dev@devys.org> | 2026-11-22 00:38:36 +0100 |
|---|---|---|
| committer | vg <vgm+dev@devys.org> | 2026-11-22 00:38:36 +0100 |
| commit | da9c43e9bbc679db214e049676c6b29dfb78654b (patch) | |
| tree | abbcacebff30ba207841adfa49d172efaf7a345a /pygame/profiledb.py | |
| parent | facb0c19cd5a8742eefdbca71d72450a7a040904 (diff) | |
| download | gamechest-da9c43e9bbc679db214e049676c6b29dfb78654b.tar.gz gamechest-da9c43e9bbc679db214e049676c6b29dfb78654b.tar.bz2 gamechest-da9c43e9bbc679db214e049676c6b29dfb78654b.zip | |
git-sync on ditawip
Diffstat (limited to 'pygame/profiledb.py')
| -rw-r--r-- | pygame/profiledb.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pygame/profiledb.py b/pygame/profiledb.py deleted file mode 100644 index 190d401..0000000 --- a/pygame/profiledb.py +++ /dev/null @@ -1,14 +0,0 @@ -from pathlib import Path - -import yaml - - -class ProfileDB: - - def __init__(self): - with Path('~/games/.saves/profiles.yaml').expanduser().open() as fp: - self.profiledb = yaml.safe_load(fp) - - def get_profiles(self): - # currently contains {name, display} - return self.profiledb['profiles'] |
