Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 612316
Collapse All | Expand All

(-)a/config.py (-1 / +9 lines)
Lines 28-33 pyfaPath = None Link Here
28
savePath = None
28
savePath = None
29
saveDB = None
29
saveDB = None
30
gameDB = None
30
gameDB = None
31
imgsZIP = None
31
32
32
33
33
class StreamToLogger(object):
34
class StreamToLogger(object):
Lines 64-69 def defPaths(customSavePath): Link Here
64
    global savePath
65
    global savePath
65
    global saveDB
66
    global saveDB
66
    global gameDB
67
    global gameDB
68
    global imgsZIP
67
    global saveInRoot
69
    global saveInRoot
68
70
69
    if debug:
71
    if debug:
Lines 122-128 def defPaths(customSavePath): Link Here
122
    # The database where the static EVE data from the datadump is kept.
124
    # The database where the static EVE data from the datadump is kept.
123
    # This is not the standard sqlite datadump but a modified version created by eos
125
    # This is not the standard sqlite datadump but a modified version created by eos
124
    # maintenance script
126
    # maintenance script
125
    gameDB = os.path.join(pyfaPath, "eve.db")
127
    gameDB = getattr(configforced, "gameDB", None)
128
    if gameDB is None:
129
        gameDB = os.path.join(pyfaPath, "eve.db")
130
131
    imgsZIP = getattr(configforced, "imgsZIP", None)
132
    if imgsZIP is None:
133
        imgsZIP = os.path.join(pyfaPath, "imgs.zip")
126
134
127
    # DON'T MODIFY ANYTHING BELOW!
135
    # DON'T MODIFY ANYTHING BELOW!
128
    import eos.config
136
    import eos.config
(-)a/gui/bitmapLoader.py (-1 / +1 lines)
Lines 35-41 except ImportError: Link Here
35
35
36
class BitmapLoader(object):
36
class BitmapLoader(object):
37
    try:
37
    try:
38
        archive = zipfile.ZipFile(os.path.join(config.pyfaPath, 'imgs.zip'), 'r')
38
        archive = zipfile.ZipFile(config.imgsZIP, 'r')
39
    except IOError:
39
    except IOError:
40
        archive = None
40
        archive = None
41
41

Return to bug 612316