()
| 37 | return ROOT_PATH |
| 38 | |
| 39 | def getResourcesPath(): |
| 40 | # First check inside PageBot package. |
| 41 | path = '%s/%s' % (ROOT_PATH, 'resources') |
| 42 | |
| 43 | if os.path.exists(path): |
| 44 | return path |
| 45 | |
| 46 | # Check base in case of separate resources folder (Py2app). |
| 47 | path = '%s/%s' % (BASE_PATH, 'resources') |
| 48 | return path |
| 49 | |
| 50 | def getExportPath(): |
| 51 | if os.path.exists(ROOT_PATH): |
no outgoing calls
no test coverage detected