remove dead code

This commit is contained in:
Matthias 2022-02-28 20:29:45 +01:00
parent ad81439140
commit 23531e0a5d
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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)}')
if settings.TESTING:
raise _e
except Exception as _e:
raise _e
# do not try again this round
settings.USER_ADDED = True