Commit [72c5c8] Maximize Restore History

7258: Replace os.getcwd() with gramps.gen.constfunc.get_curr_dir()

Py2 on Win32 returns a str from os.getcwd(), which doesn't work with unicode in the path.
New function get_curr_dir() uses the Windows GetCurrentDirectoryW to return a Unicode.
(cherry picked from commit ecfad157a8eb5b36efdcbdfd0f7c40e0b26d205f)

John Ralls John Ralls 2014-04-20

changed gramps/gen/constfunc.py
changed gramps/gui/plug/report/_fileentry.py
changed gramps/gui/plug/_guioptions.py
changed gramps/plugins/tool/eventcmp.py
changed gramps/plugins/webreport/narrativeweb.py
gramps/gen/constfunc.py Diff Switch to side-by-side view
Loading...
gramps/gui/plug/report/_fileentry.py Diff Switch to side-by-side view
Loading...
gramps/gui/plug/_guioptions.py Diff Switch to side-by-side view
Loading...
gramps/plugins/tool/eventcmp.py Diff Switch to side-by-side view
Loading...
gramps/plugins/webreport/narrativeweb.py Diff Switch to side-by-side view
Loading...