Skip to content

Commit 7113947

Browse files
committed
Typo fixed & reformatting
1 parent 0b1f0db commit 7113947

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/osw/express.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ def upload_file(
362362
from osw.controller.file.wiki import WikiFileController # depends on WikiFile
363363
except AttributeError as e:
364364
warn(
365-
f'An exception occurred while loading the module dependencies: \n"{e}"'
365+
f"An exception occurred while loading the module dependencies: \n"
366+
f'"{e}"\n'
366367
"A connection to an OSW instance, to fetch the dependencies from, has to be "
367368
"established!"
368369
)
@@ -1001,8 +1002,8 @@ def import_with_fallback(
10011002
"and could not be derived from 'to_import'!"
10021003
)
10031004
warn(
1004-
f'An exception occurred while loading the module dependencies: \n"'
1005-
f'{e}"\n'
1005+
f"An exception occurred while loading the module dependencies: \n"
1006+
f'"{e}"\n'
10061007
"A connection to an OSW instance, to fetch the dependencies from, "
10071008
"has to be established!"
10081009
)

0 commit comments

Comments
 (0)