Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 613568 | Differences between
and this patch

Collapse All | Expand All

(-)pyfa-old/config.py (-2 / +9 lines)
Lines 133-139 Link Here
133
    # The database where the static EVE data from the datadump is kept.
133
    # The database where the static EVE data from the datadump is kept.
134
    # This is not the standard sqlite datadump but a modified version created by eos
134
    # This is not the standard sqlite datadump but a modified version created by eos
135
    # maintenance script
135
    # maintenance script
136
    gameDB = os.path.join(pyfaPath, "eve.db")
136
    gameDB = getattr(configforced, "gameDB", None)
137
    if gameDB is None:
138
        gameDB = os.path.join(pyfaPath, "eve.db")
139
140
    imgsZIP = getattr(configforced, "imgsZIP", None)
141
    if imgsZIP is None:
142
        imgsZIP = os.path.join(pyfaPath, "imgs.zip")
137
143
138
    ## DON'T MODIFY ANYTHING BELOW ##
144
    ## DON'T MODIFY ANYTHING BELOW ##
139
    import eos.config
145
    import eos.config
140
-- pyfa-old/config.py  2017-02-26 14:27:25.230020006 -0500
146
++ pyfa-9999/config.py 2017-02-26 14:28:41.020020496 -0500
Lines 75-80 Link Here
75
    global savePath
75
    global savePath
76
    global saveDB
76
    global saveDB
77
    global gameDB
77
    global gameDB
78
    global imgsZIP
78
    global saveInRoot
79
    global saveInRoot
79
80
80
    if debug:
81
    if debug:
(-)pyfa-old/gui/bitmapLoader.py (-1 / +1 lines)
Lines 37-43 Link Here
37
37
38
class BitmapLoader(object):
38
class BitmapLoader(object):
39
    try:
39
    try:
40
        archive = zipfile.ZipFile(os.path.join(config.pyfaPath, 'imgs.zip'), 'r')
40
        archive = zipfile.ZipFile(config.imgsZIP, 'r')
41
        logging.info("Using zipped image files.")
41
        logging.info("Using zipped image files.")
42
    except IOError:
42
    except IOError:
43
        logging.info("Using local image files.")
43
        logging.info("Using local image files.")

Return to bug 613568