File name procedure modified.
authorRoman Bazalevsky <rvb@rvb.name>
Sat, 11 Jul 2015 14:15:31 +0000 (17:15 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Sat, 11 Jul 2015 14:15:31 +0000 (17:15 +0300)
fb2_process.py

index d8c01c18260c8a4b2cfa12de515a7038ed157c9a..00ef2131a9aa0a9ce77706407cbd2d96e5618a50 100755 (executable)
@@ -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.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):
 
 
   def __init__(self,meta_dict,size):