Re: database version problem



Hi Jean,

On 07.09.2009 12:37, Jean Jordaan wrote:
> Modified version found:
> file:///home/jean/Photos/2009/08/03/Afb355%20(Modified).jpg
>   => No original found. Not merging

Probably this is because "%20" is not recognized as blank (" "). As a
(quick and dirty) fix, can you try to add the following at line number
62 (right after "string original_path = ..."):

original_path = original_path.Replace ("%20(" +
version_names[j].Replace(" ", "%20") + ")", "");


This should probably be better done using regular expressions. Is on the
todo list for the next version ;).

~ Fabian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]