contrib/rss: fix using the short filename to build patterns
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 26 Jun 2015 20:48:53 +0000 (16:48 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 30 Jun 2015 16:38:02 +0000 (12:38 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

contrib/rss_downloader/src/rss_downloader.nit

index 200fead..323a84e 100644 (file)
@@ -199,7 +199,7 @@ class Downloader
                        end
 
                        for dir in source_folder.files do if dir.stat.is_dir then
-                               folder_names.add dir.to_s
+                               folder_names.add dir.filename
                        end
                end