1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 19:40:21 +01:00

* New config object doesn't read configuration - fixed.

* Added PIL field in config.
This commit is contained in:
2006-11-30 11:35:40 +00:00
parent 9feef2fb70
commit dffd5f0387

View File

@@ -38,7 +38,8 @@ class Config:
'v' : 300,
'exportxls' : False,
'cd' : '/cdrom',
'eject' : 'eject -r'
'eject' : 'eject -r',
'pil': False,
}
dictconf = {
@@ -49,9 +50,10 @@ class Config:
"export xls":"exportxls",
"cd drive":"cd",
"eject command":"eject",
"image support":"pil",
}
dbool = ('exportxls')
dbool = ('exportxls','pil')
dstring = ('cd','eject')
try:
@@ -60,7 +62,7 @@ class Config:
path = "/tmp"
def __init__(self):
self.load()
pass
def save(self):
try: