mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-01 22:08:56 -06:00
refactor: make writable an instance method
This commit is contained in:
1 parent
bc50106587
commit
81a94fc267
7 files changed
+31
-15
No files matched your search
@@ -83,8 +83,7 @@ class Exporter(BaseExporter[str]):
|
||||
# one from BIOS data alone would throw the component away.
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def writable(cls, fe: NativeFile, require: str = "") -> bool:
|
||||
def writable(self, fe: NativeFile, require: str = "") -> bool:
|
||||
"""An addition lands only in a manifest it can be placed in."""
|
||||
if fe.platform is None and not fe.native("component", ""):
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user