Fix not using defined variable for match-access

possibly leading to slower access-times
This commit is contained in:
Thor77 2017-03-31 22:20:43 +02:00
parent 4b261ed321
commit 8d18b9c4ae
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ def _bundle_logs(logs):
key=lambda tl: tl.timestamp)
else:
# if not exists, just create a list
vserver_logfiles[match['sid']] = [tl]
vserver_logfiles[sid] = [tl]
else:
# fallback to plain sorting
vserver_logfiles.setdefault('', [])\