Notify trackdir creation
[gregoa/zavai.git] / 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):