From dffd5f038749bfab426ca7b995bed3bdfad280a4 Mon Sep 17 00:00:00 2001 From: gryf Date: Thu, 30 Nov 2006 11:35:40 +0000 Subject: [PATCH] * New config object doesn't read configuration - fixed. * Added PIL field in config. --- config.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 0041cbf..af9af2b 100644 --- a/config.py +++ b/config.py @@ -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: