Changes for Gramps-Connect to work on Windows without using gramps.py

svn: r19846
This commit is contained in:
Doug Blank
2012-06-15 19:52:33 +00:00
parent c7499652d6
commit d6f3dfb5dd
3 changed files with 14 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2004-2005 Donald N. Allingham
# Copyright (C) 2012 Doug Blank <doug.blank@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -131,10 +132,10 @@ try:
except:
import time
codeset = None
if win() or mac():
codeset = locale.getlocale()[1]
else:
if codeset is None:
codeset = locale.getpreferredencoding()
month_to_int = {