diff options
Diffstat (limited to 'dicofr.py')
-rwxr-xr-x | dicofr.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,9 +17,9 @@ from os.path import exists import ui -debug = False +DEBUG = False -if debug: +if DEBUG: DIR_PATH = 'assets/' else: DIR_PATH = '/usr/share/dicofr/assets/' @@ -109,6 +109,7 @@ if __name__ == '__main__': if not exists(dico): if not exists(f'{DIR_PATH}/{dico}'): print('Error: No sqlite dictionnary', file=sys.stderr) + print(f'Default directory is set to "{DIR_PATH}"', file=sys.stderr) exit(1) else: dico = f'{DIR_PATH}/{dico}' |