Login
|
ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
|
View Changeset
|
Root Listing
root
/
alarming
/
trunk
/
Server
/
doorbell
/
detect.py
Revision:
6
Committed:
Mon Jun 10 17:40:51 2019 UTC
(2 years, 11 months ago) by
daniel-marschall
Content type:
text/x-python
File size:
198 byte(s)
Log Message:
NEW: Doorbell listener
File Contents
#
Content
1
#!/usr/bin/env python3
2
3
import
os
4
5
dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
"/detect.d/"
6
7
for
root
,
dirs
,
files
in
os
.
walk
(
dir
):
8
for
fname
in
files
:
9
os
.
system
(
dir
+
fname
+
" &"
)
10
Properties
Name
Value
svn:executable
*