Create __init__.py
This commit is contained in:
parent
ddc3f72afb
commit
ce4a91b679
1 changed files with 10 additions and 0 deletions
10
plugins/disabled-StemPort/__init__.py
Normal file
10
plugins/disabled-StemPort/__init__.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
try:
|
||||
from stem.control import Controller
|
||||
stem_found = True
|
||||
except Exception, err:
|
||||
print "STEM NOT FOUND! %s" % err
|
||||
stem_found = False
|
||||
|
||||
if stem_found:
|
||||
print "Starting Stem plugin..."
|
||||
import StemPortPlugin
|
Loading…
Reference in a new issue