|
|
@@ -188,7 +188,8 @@ class OWS:
|
|
|
|
|
|
# nothing has changed in the capabilities document since last
|
|
|
# request ?
|
|
|
- if os.path.exists(os.path.join(self.cachedir,"capabilities.xml")):
|
|
|
+ if os.path.exists(os.path.join(self.cachedir,"capabilities.xml")) and\
|
|
|
+ "_capabilities" in dir(self.capabilities):
|
|
|
oldCapsFile = open(os.path.join(self.cachedir,"capabilities.xml"))
|
|
|
oldCaps = oldCapsFile.read()
|
|
|
oldCapsFile.close()
|