|
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 |