Browse Source

Correct example code s/self/sign

Will Nowak 10 years ago
parent
commit
4638e9fed9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      alphasign/__init__.py

+ 1 - 1
alphasign/__init__.py

@@ -25,7 +25,7 @@ Here is a simple example for controlling a Betabrite Prism via USB::
 
     # write objects
     for obj in (counter_str, counter_txt):
-      self.write(obj)
+      sign.write(obj)
 
     # (strictly) monotonically increasing counter
     counter_value = 0