Update README.md to specify the python requirements
[time-slider.git] / usr / share / time-slider / lib / time_slider / smf.py
index 5c64109..074190a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/python3
 #
 # CDDL HEADER START
 #
@@ -22,7 +22,7 @@
 
 import subprocess
 import threading
-import util
+from . import util
 
 #SMF EXIT CODES
 SMF_EXIT_OK          = 0
@@ -149,5 +149,5 @@ class SMFInstance(Exception):
 
 if __name__ == "__main__":
   S = SMFInstance('svc:/application/time-slider')
-  print S
+  print(S)