mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
extension simplifications
This commit is contained in:
parent
aa3ca80ae6
commit
48645072ee
3 changed files with 10 additions and 10 deletions
|
@ -376,7 +376,8 @@ def get_extension(filename):
|
|||
|
||||
|
||||
def has_extension(filename, ext):
|
||||
return ext == get_extension(filename)
|
||||
_, f_ext = get_extension(filename)
|
||||
return ext == f_ext
|
||||
|
||||
|
||||
apk_regex = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue