Skip to content

Commit 63ceaec

Browse files
committed
Fix error message formatting
1 parent 6333bb1 commit 63ceaec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arabic_reshaper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,8 +1212,8 @@ def __init__(self, configuration=None, configuration_file=None):
12121212

12131213
if not os.path.exists(configuration_files[0]):
12141214
raise Exception(
1215-
'Default configuration file {} not found,' +
1216-
' check the module installation.'.format(
1215+
('Default configuration file {} not found,' +
1216+
' check the module installation.').format(
12171217
configuration_file,
12181218
)
12191219
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setup(
77
name = "arabic_reshaper",
88
description = "Reconstruct Arabic sentences to be used in applications that don't support Arabic",
9-
version = '2.0.3',
9+
version = '2.0.4',
1010
platforms = "ALL",
1111
license = "GPL",
1212
packages = ['arabic_reshaper'],

0 commit comments

Comments
 (0)