--- a/degal/config.py Fri Jun 05 23:00:38 2009 +0300
+++ b/degal/config.py Fri Jun 05 23:02:30 2009 +0300
@@ -2,14 +2,24 @@
Configuration
"""
+import logging
+
class Configuration (object) :
"""
Various configuration settings
"""
+ ## runtime settings
+
+ # do not modify anything
+ read_only = False
# the path to the gallery
gallery_path = "."
+ # minimum logging level
+ log_level = logging.INFO
+
+ ## detailed configuration
# the name of the gallery
gallery_title = "Image Gallery"
@@ -45,11 +55,6 @@
("FocalLength", "Focal length" )
]
- ## runtime settings
-
- # do not modify anything
- read_only = False
-
### functions
def is_image (self, file) :