Skip to content

Commit

Permalink
remove slugify validation
Browse files Browse the repository at this point in the history
  • Loading branch information
munnsmunns committed Jun 28, 2024
1 parent c9b5110 commit cd0cb8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bmds_ui/desktop/components/database_form.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from pathlib import Path
from typing import Any

from django.utils.text import slugify
from textual import on, work
from textual.app import ComposeResult
from textual.containers import Grid, Horizontal
Expand Down Expand Up @@ -34,7 +33,7 @@ def file_valid(value: str):
stemmed = Path(value).stem
if len(stemmed) == 0:
return False
return slugify(stemmed) == stemmed
return True


class NullWidget(Widget):
Expand Down

0 comments on commit cd0cb8d

Please sign in to comment.