git://git.nikiroo.be
/
gamiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
860ca83
)
revert parent/library change
author
Niki Roo
<niki@nikiroo.be>
Tue, 25 Mar 2025 23:18:03 +0000
(
00:18
+0100)
committer
Niki Roo
<niki@nikiroo.be>
Tue, 25 Mar 2025 23:18:03 +0000
(
00:18
+0100)
gamiki/game.py
patch
|
blob
|
blame
|
history
diff --git
a/gamiki/game.py
b/gamiki/game.py
index 16a0bf341e85c85c898941ae932389fa4d0813c0..253ea4f0f8f23ec98228f2aba65167c582e7ef31 100644
(file)
--- a/
gamiki/game.py
+++ b/
gamiki/game.py
@@
-3,7
+3,7
@@
from pathlib import PurePath
class Game(dict[str, str]):
"""Game object generated from a directory."""
- def __init__(self,
parent
, dir: PurePath):
+ def __init__(self,
library
, dir: PurePath):
self.dir = dir
self.name = dir.name
self.code = dir.name
@@
-11,7
+11,7
@@
class Game(dict[str, str]):
self.tags = []
self.desc = ""
self.support = None
- self.
parent = parent
+ self.
library = library
self._read_info(self.dir.joinpath("gameinfo.txt"))
self._init()