aboutsummaryrefslogtreecommitdiff
path: root/dicofr.py
diff options
context:
space:
mode:
Diffstat (limited to 'dicofr.py')
-rwxr-xr-xdicofr.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/dicofr.py b/dicofr.py
index 7e6888d..68bec87 100755
--- a/dicofr.py
+++ b/dicofr.py
@@ -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}'