Skip to content

Commit

Permalink
Fix DisplayPad import case sensitivity
Browse files Browse the repository at this point in the history
Updated import statements to use the correct lowercase 'displaypad' module name instead of 'DisplayPad'. This change ensures compatibility with case-sensitive file systems.
  • Loading branch information
Erik05Master committed Oct 18, 2024
1 parent 370aa4e commit 0e6135c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This library allows you to customize your own Mountain DisplayPad by assigning e
```python
import time

from DisplayPad import DisplayPad
from displaypad import DisplayPad


def main():
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import time

from DisplayPad import DisplayPad
from displaypad import DisplayPad


def main():
Expand All @@ -13,7 +13,7 @@ def on_key_down(key_index):
@pad.on('up')
def on_key_down(key_index):
print(f"Key {key_index} has been released.")

@pad.on('error')
def on_error(error):
print(f"Error: {error}")
Expand Down

0 comments on commit 0e6135c

Please sign in to comment.