Small final edit

This commit is contained in:
Jeroen Oudshoorn
2024-12-09 20:18:30 +01:00
parent f29c0e08df
commit 3ccfbbc940
3 changed files with 3 additions and 2 deletions

1
.idea/pwnagotchi.iml generated
View File

@ -2,6 +2,7 @@
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" />
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.12 (pwnagotchi)" jdkType="Python SDK" />

View File

@ -25,7 +25,7 @@ class DummyDisplay(DisplayImpl):
self._layout['friend_name'] = (int(width/12), int(height/10))
self._layout['shakes'] = (0, height-int(height/25))
self._layout['mode'] = (width-int(width/8), height - int (height/25))
lw, lh = fonts.Small.getsize("W")
lw, lh = fonts.Small.getbbox("W")
self._layout['status'] = {
'pos': (int(width/48), int(height/3)),
'font': fonts.status_font(fonts.Small),

View File

@ -9,7 +9,7 @@ dependencies = [
"PyYAML", "dbus-python", "file-read-backwards", "flask", "flask-cors",
"flask-wtf", "gast", "gpiozero", "inky", "numpy", "pycryptodome", "pydrive2", "python-dateutil",
"requests", "rpi-lgpio", "rpi_hardware_pwm", "scapy", "setuptools", "shimmy", "smbus", "smbus2",
"spidev", "toml", "tweepy", "websockets",
"spidev", "toml", "tweepy", "websockets", "prctl",
]
requires-python = ">=3.11"