Skip to content

Commit

Permalink
If no BT index is provided, it will no longer create the index
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostop14 committed Mar 18, 2021
1 parent aff586f commit 8a8d3a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sparrow-elastic.py
Expand Up @@ -598,7 +598,9 @@ def getDayOfWeekName(day_of_week_num):

# Create indices if needed
create_wifi_index(es, wifi_index)
create_bluetooth_index(es, bluetoothIndex)

if bluetoothEnabled:
create_bluetooth_index(es, bluetoothIndex)

# Get remote wireless interfaces
if len(args.wifiinterface) > 0:
Expand Down

0 comments on commit 8a8d3a0

Please sign in to comment.