Skip to content

Commit 89692c8

Browse files
authored
Edit ph.py example code
Fixes #2
1 parent 28b3a78 commit 89692c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyghthouse/ph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ class Pyghthouse:
9494
The following example creates a Pyghthouse and sets the 10th window of the 11th floor to orange.
9595
>>> from pyghthouse import Pyghthouse
9696
>>> p = Pyghthouse("YourUsername", "YourToken")
97-
>>> p.start() # npt necessary to set image, but necessary for sending.
97+
>>> p.start() # not necessary to set image, but necessary for sending.
9898
>>> img = Pyghthouse.empty_image()
99-
>>> img[3, 9] = [255, 127, 0]
99+
>>> img[3][9] = [255, 127, 0]
100100
>>> p.set_image(img)
101101
102102
Full Example

0 commit comments

Comments
 (0)