ancient typo in unused code
authorJan Szejko <janek37@gmail.com>
Mon, 23 Oct 2017 13:33:22 +0000 (15:33 +0200)
committerJan Szejko <janek37@gmail.com>
Mon, 23 Oct 2017 13:42:30 +0000 (15:42 +0200)
librarian/parser.py

index b312da8..43cb0a9 100644 (file)
@@ -221,7 +221,7 @@ class WLDocument(object):
             save_path = output_dir_path
             if make_author_dir:
                 save_path = os.path.join(save_path, unicode(self.book_info.author).encode('utf-8'))
-            save_path = os.path.join(save_path, self.book_info.uri.slug)
+            save_path = os.path.join(save_path, self.book_info.url.slug)
             if ext:
                 save_path += '.%s' % ext
         else: