Browse Source

Allow floats to be specified for sleep time.

Chris McDonough 18 years ago
parent
commit
bd1d5e9edf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/supervisor/scripts/sample_commevent.py

+ 1 - 1
src/supervisor/scripts/sample_commevent.py

@@ -33,7 +33,7 @@ def main(sleep):
 
 if __name__ == '__main__':
     if len(sys.argv) > 1:
-        main(int(sys.argv[1]))
+        main(float(sys.argv[1]))
     else:
         main(1)