Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Explicitly set the locale correctly
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c4b4b0b50170f8cb1b565af8b32d8e1a399c9a24
User & Date: brandon 2018-11-11 22:29:21
Context
2018-11-11
23:39
Set the same sort function for all columns check-in: 72ccdaea06 user: brandon tags: trunk
22:29
Explicitly set the locale correctly check-in: c4b4b0b501 user: brandon tags: trunk
21:43
Fix marking games as played, again check-in: 2755d3986e user: brandon tags: trunk
Changes

Changes to grotesque.

33
34
35
36
37
38
39

40
41
42
43
44
45
46
..
55
56
57
58
59
60
61

62
63
64
65
66
67
68
__status__ = "Development"


import sys
import os
import errno
import sqlite3


try:
    import gi
    gi.require_version('Gtk', '3.0')
    gi.require_version('GIRepository', '2.0')
except:
    import sys
................................................................................
from gi.repository import Gtk
from grotesque.ui.gtk3 import Gui
from grotesque.settings import Settings
from grotesque import db


def main():

    # If this is the first time running the program, the settings file won't
    # exist, so run the settings assistant.
    gui = Gui()
    settings = Settings()
    if not settings.load():
        gui.setup_assistant(settings)
        if not os.path.exists(settings.configdir):







>







 







>







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
..
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
__status__ = "Development"


import sys
import os
import errno
import sqlite3
import locale

try:
    import gi
    gi.require_version('Gtk', '3.0')
    gi.require_version('GIRepository', '2.0')
except:
    import sys
................................................................................
from gi.repository import Gtk
from grotesque.ui.gtk3 import Gui
from grotesque.settings import Settings
from grotesque import db


def main():
    locale.setlocale(locale.LC_ALL, '')
    # If this is the first time running the program, the settings file won't
    # exist, so run the settings assistant.
    gui = Gui()
    settings = Settings()
    if not settings.load():
        gui.setup_assistant(settings)
        if not os.path.exists(settings.configdir):