Change to Python3 coding style
This commit is contained in:
parent
fc0fe0557b
commit
b0b9a4d33c
137 changed files with 910 additions and 913 deletions
|
@ -1,10 +1,10 @@
|
|||
try:
|
||||
from stem.control import Controller
|
||||
stem_found = True
|
||||
except Exception as err:
|
||||
print "STEM NOT FOUND! %s" % err
|
||||
stem_found = False
|
||||
|
||||
if stem_found:
|
||||
print "Starting Stem plugin..."
|
||||
import StemPortPlugin
|
||||
try:
|
||||
from stem.control import Controller
|
||||
stem_found = True
|
||||
except Exception as err:
|
||||
print(("STEM NOT FOUND! %s" % err))
|
||||
stem_found = False
|
||||
|
||||
if stem_found:
|
||||
print("Starting Stem plugin...")
|
||||
from . import StemPortPlugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue