Skip to content

Commit

Permalink
fix time filter mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptofine committed Aug 10, 2023
1 parent b5ff080 commit 1d85b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataset_filters/data_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_modified_time(path: str) -> datetime:
def fast_comp(self) -> Expr | bool:
param: Expr | bool = True
if self.after:
param &= self.after < col("modifiedtime)")
param &= self.after < col("modifiedtime")
if self.before:
param &= self.before > col("modifiedtime")
return param
Expand Down

0 comments on commit 1d85b97

Please sign in to comment.