X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=update-web-status.py;h=4776e6ac77dd9826f35ae56f3c2b9b6d1f600a28;hb=5528e0d1bcd2aa0dd44f5dc950da0d82bc4ae421;hp=767a910e955b0aa60994c3efa0357a3e0d20d900;hpb=fe1fb5caee5453ccba502b9ef8550b2186f0dc96;p=svn42.git diff --git a/update-web-status.py b/update-web-status.py index 767a910..4776e6a 100755 --- a/update-web-status.py +++ b/update-web-status.py @@ -48,12 +48,13 @@ class UWSConfig: def checkConfigUpdates(self): if self.configfile is None: return - logging.debug("Reading Configfile "+self.configfile) + logging.debug("Checking Configfile mtime: "+self.configfile) try: mtime = os.path.getmtime(self.configfile) except IOError: return if self.config_mtime < mtime: + logging.debug("Reading Configfile") try: self.config_parser.read(self.configfile) self.config_mtime=os.path.getmtime(self.configfile)