mirror of
https://github.com/BillyOutlast/OF-Scraper.git
synced 2026-07-01 12:17:25 -04:00
10 lines
327 B
Python
Executable File
10 lines
327 B
Python
Executable File
from ofscraper.classes.table.inputs.filterinput import FilterInput
|
|
|
|
|
|
class StrInput(FilterInput):
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, type="text", **kwargs)
|
|
def compare(self, value):
|
|
if self.value == "":
|
|
return True
|
|
return value.lower() == self.value.lower() |