[fix] Blank option in naming series

This commit is contained in:
Nabin Hait 2015-06-09 18:59:51 +05:30
parent 909f0c38f1
commit bb429745c0

View File

@ -49,7 +49,7 @@ class NamingSeries(Document):
self.set_series_for(self.select_doc_for_series, series_list)
# create series
map(self.insert_series, [d.split('.')[0] for d in series_list])
map(self.insert_series, [d.split('.')[0] for d in series_list if d.strip()])
msgprint(_("Series Updated"))