--- a/degal/config.py Fri Jun 05 19:30:53 2009 +0300
+++ b/degal/config.py Fri Jun 05 21:46:43 2009 +0300
@@ -2,13 +2,14 @@
Configuration
"""
-import render
-
class Configuration (object) :
"""
Various configuration settings
"""
+ # the path to the gallery
+ gallery_path = "."
+
# the name of the gallery
gallery_title = "Image Gallery"
@@ -44,6 +45,13 @@
("FocalLength", "Focal length" )
]
+ ## runtime settings
+
+ # do not modify anything
+ read_only = False
+
+
+ ### functions
def is_image (self, file) :
"""
Tests if the given File is an image, based on its file extension