mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Fix coding error getting environment variable GAM_AUTOBATCH
This commit is contained in:
@ -8968,7 +8968,7 @@ try:
|
||||
print user
|
||||
sys.exit(0)
|
||||
try:
|
||||
autoBatch = int(os.environ[u'GAM_AUTOBATCH', '0'])
|
||||
autoBatch = int(os.environ.get(u'GAM_AUTOBATCH', '0'))
|
||||
if (autoBatch > 0) and (len(users) > autoBatch):
|
||||
items = []
|
||||
for user in users:
|
||||
|
Reference in New Issue
Block a user