aboutsummaryrefslogtreecommitdiffstats
path: root/pygame/profiledb.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygame/profiledb.py')
-rw-r--r--pygame/profiledb.py14
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']