mirror of
https://github.com/grp/Wii.py.git
synced 2025-06-18 14:55:35 -04:00
added test to display plaintext setting.txt
This commit is contained in:
parent
002c2a6fb1
commit
0cbaf7b9af
13
tests/display_setting_txt.py
Normal file
13
tests/display_setting_txt.py
Normal file
@ -0,0 +1,13 @@
|
||||
#!/uwr/bin/python
|
||||
|
||||
import sys, Wii
|
||||
|
||||
def main():
|
||||
settings = Wii.CONF(sys.argv[1])
|
||||
print settings.getKeysName()
|
||||
for x in settings.getKeysName():
|
||||
print settings.getKeyValue(x)
|
||||
sys.exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue
Block a user