Notify trackdir creation
authorEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 10:24:46 +0000 (18:24 +0800)
committerEnrico Zini <enrico@enricozini.org>
Mon, 15 Jun 2009 10:24:46 +0000 (18:24 +0800)
zavai/gps.py

index 75c25a58971d768265860fccf446d14ef3813c28..49a3a2690f6803e71f376a4eca88f9a97b289702 100755 (executable)
@@ -267,6 +267,7 @@ class GPX(zavai.Resource):
             if conf.has_option("gps", "trackdir"):
                 self.trackdir = conf.get("gps", "trackdir")
         if not os.path.isdir(self.trackdir):
+            zavai.info("Creating directory", self.trackdir)
             os.makedirs(self.trackdir)
 
     def request(self, tag):