projects
/
smartthings-infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76acd35
)
Fix bug in extractor script
author
bdemsky
<bdemsky@uci.edu>
Fri, 2 Aug 2019 01:45:07 +0000
(18:45 -0700)
committer
bdemsky
<bdemsky@uci.edu>
Fri, 2 Aug 2019 01:45:07 +0000
(18:45 -0700)
Extractor/ExtractorScript.py
patch
|
blob
|
history
diff --git
a/Extractor/ExtractorScript.py
b/Extractor/ExtractorScript.py
index 4bc7306906652c200f9858ff55487390389883b0..9e0f1c180218f8258ba8fccd439865af67cad752 100644
(file)
--- a/
Extractor/ExtractorScript.py
+++ b/
Extractor/ExtractorScript.py
@@
-297,6
+297,8
@@
def ExtractEvents(extractedEvents):
event = open("eventSimulator/beaconLeftEvent.groovy", "r")
for line in event:
extractedEvents.write("\t\t" + line)
+
+ extractedEvents.write("\t\t\t}\n")
event.close()
elif eventList[i] == "presence.present": #Case for Touched event
event = open("eventSimulator/presencePresencePresentEvent.groovy", "r")