mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
remove dead code
This commit is contained in:
parent
ad81439140
commit
23531e0a5d
@ -192,8 +192,6 @@ class InvenTreeConfig(AppConfig):
|
|||||||
logger.warning(f'The user "{add_user}" could not be created due to the following error:\n{str(_e)}')
|
logger.warning(f'The user "{add_user}" could not be created due to the following error:\n{str(_e)}')
|
||||||
if settings.TESTING:
|
if settings.TESTING:
|
||||||
raise _e
|
raise _e
|
||||||
except Exception as _e:
|
|
||||||
raise _e
|
|
||||||
|
|
||||||
# do not try again this round
|
# do not try again this round
|
||||||
settings.USER_ADDED = True
|
settings.USER_ADDED = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user