Ticket #9610: storage.py.2.patch

File storage.py.2.patch, 477 bytes (added by fadlytabrani, 10 years ago)
Line 
165a66,67
2>               
3>               dir_name, file_name = os.path.split(name)
468c70
5<                 dot_index = name.rindex('.')
6---
7>                 dot_index = file_name.rindex('.')
870c72
9<                 name += '_'
10---
11>                 file_name += '_'
1272c74,75
13<                 name = name[:dot_index] + '_' + name[dot_index:]
14---
15>                 file_name = file_name[:dot_index] + '_' + file_name[dot_index:]
16>             name = os.path.join(dir_name, file_name)
Back to Top