split folder into db and results

This commit is contained in:
relikd
2021-02-12 00:54:50 +01:00
parent a9d4085a4b
commit 1c27f17677
15 changed files with 24 additions and 17 deletions

View File

@@ -27,13 +27,13 @@ class LPath(object):
return os.path.join(LP_ROOT_DIR, 'data', f'{fname}.{ext}')
@staticmethod
def tmp(fname, ext='txt'):
return os.path.join(LP_ROOT_DIR, 'tmp', f'{fname}.{ext}')
@staticmethod
def InterruptDB(fname):
return os.path.join(LP_ROOT_DIR, 'InterruptDB', fname + '.txt')
def db(fname):
return os.path.join(LP_ROOT_DIR, 'db', fname + '.txt')
@staticmethod
def results(fname):
return os.path.join(LP_ROOT_DIR, 'InterruptDB', fname)
return os.path.join(LP_ROOT_DIR, 'results', fname)
@staticmethod
def tmp(fname, ext='txt'):
return os.path.join(LP_ROOT_DIR, 'tmp', f'{fname}.{ext}')