From a47401f5fac121db5eb44214530121ab14cba2f3 Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Sat, 11 Jul 2015 17:15:31 +0300 Subject: [PATCH] File name procedure modified. --- fb2_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb2_process.py b/fb2_process.py index d8c01c1..00ef213 100755 --- a/fb2_process.py +++ b/fb2_process.py @@ -42,7 +42,7 @@ class MetaData: self.sort_title = db.SortName(self.title).replace(' ','_'); self.sort_author = db.SortAuthorName(self.author).replace(' ','_'); self.path = ("%s/%s/%s/%s/%s (%d)" % (self.sort_author[0],self.sort_author[0:2],self.sort_author[0:4],self.sort_author[0:32],self.sort_title[0:64],self.book_id)) - self.dataname = (self.title.decode('utf-8')[0:64]+' '+self.author.decode('utf-8')[0:32]).replace('/','') + self.dataname = (self.title.decode('utf-8')[0:64]+' -- '+self.author.decode('utf-8')[0:32]).replace('/','') def __init__(self,meta_dict,size): -- 2.34.1