mirror of
https://github.com/gmbrax/Pilgrim.git
synced 2026-11-09 17:20:17 +00:00
Remove the unused import and unused variable
This commit is contained in:
parent
0567495ff9
commit
ca53ac7778
@@ -3,7 +3,7 @@ from textual.screen import Screen
|
|||||||
from textual.widgets import Static, Input, Button
|
from textual.widgets import Static, Input, Button
|
||||||
from textual.containers import Container, Horizontal
|
from textual.containers import Container, Horizontal
|
||||||
from pilgrim.models.photo import Photo
|
from pilgrim.models.photo import Photo
|
||||||
import hashlib
|
|
||||||
|
|
||||||
class EditPhotoModal(Screen):
|
class EditPhotoModal(Screen):
|
||||||
"""Modal for editing an existing photo (name and caption only)"""
|
"""Modal for editing an existing photo (name and caption only)"""
|
||||||
@@ -16,7 +16,7 @@ class EditPhotoModal(Screen):
|
|||||||
|
|
||||||
def compose(self) -> ComposeResult:
|
def compose(self) -> ComposeResult:
|
||||||
# Generate hash for this photo
|
# Generate hash for this photo
|
||||||
photo_hash = None
|
|
||||||
|
|
||||||
yield Container(
|
yield Container(
|
||||||
Static("✏️ Edit Photo", classes="EditPhotoModal-Title"),
|
Static("✏️ Edit Photo", classes="EditPhotoModal-Title"),
|
||||||
|
|||||||
Reference in New Issue
Block a user