Skip to content

Commit

Permalink
Debug is_s3_stored
Browse files Browse the repository at this point in the history
  • Loading branch information
znick committed Aug 30, 2022
1 parent 358c483 commit af5f77b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions anytask/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def _dispatch(self, name, method_name, *args, **kwargs):

@classmethod
def is_s3_stored(cls, name):
ret = name.lstrip('/').startswith(cls.S3_STORED_MAGIC + '/')
name_stripped = name.lstrip('/')
print(f"!!!!!!!!!! NAMAE:{name} {name_stripped} {ret}")
return name.lstrip('/').startswith(cls.S3_STORED_MAGIC + '/')

@classmethod
Expand Down

0 comments on commit af5f77b

Please sign in to comment.