File tree 2 files changed +7
-1
lines changed 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
Change log
2
2
================================================================================
3
3
4
+ 0.6.7 - unreleased
5
+ --------------------------------------------------------------------------------
6
+
7
+ #. `#115 <https://github.com/pyexcel/pyexcel-io/issues/115 >`_: Pathnames with
8
+ "." cause file_name error in get_writer.
9
+
4
10
0.6.6 - 31.1.2022
5
11
--------------------------------------------------------------------------------
6
12
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def __init__(
47
47
48
48
def get_writer (self ):
49
49
if self ._sheet_name != constants .DEFAULT_SHEET_NAME :
50
- names = self ._native_book .split ("." )
50
+ names = self ._native_book .rsplit ("." , 1 )
51
51
file_name = "%s%s%s%s%s.%s" % (
52
52
names [0 ],
53
53
constants .DEFAULT_MULTI_CSV_SEPARATOR ,
You can’t perform that action at this time.
0 commit comments