diff options
author | ache <ache@ache.one> | 2020-11-24 08:27:44 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2020-11-24 08:27:44 +0100 |
commit | 6eae426a7ee632a40f916286b0fa88db916c8bbc (patch) | |
tree | 8265f650cecaa485d8a5c2a46286e4e1e94b9e1e /dicofr.py | |
parent | Update everything (diff) |
New instructions
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}' |