prepare allocate tags to organizations api
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import typing
|
||||
|
||||
|
||||
def detect_file_extension(file_name: str) -> typing.AnyStr:
|
||||
""" detect extension of a file like: jpg, png, pdf """
|
||||
extended = file_name.split('.')
|
||||
return extended[1]
|
||||
|
||||
Reference in New Issue
Block a user