mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
39648e545c
commit
ad76812622
@ -86,7 +86,7 @@ class Plugins:
|
|||||||
self._activate_plugins(force_reload=True)
|
self._activate_plugins(force_reload=True)
|
||||||
|
|
||||||
# we do not want to end in an endless loop
|
# we do not want to end in an endless loop
|
||||||
retry_counter -=1
|
retry_counter -= 1
|
||||||
if retry_counter <= 0:
|
if retry_counter <= 0:
|
||||||
if settings.PLUGIN_TESTING:
|
if settings.PLUGIN_TESTING:
|
||||||
print('Max retries, breaking loading')
|
print('Max retries, breaking loading')
|
||||||
|
Loading…
Reference in New Issue
Block a user