def choose_package(file_type, file_name):
 if (not file_type):
  return None
 file_type = file_type.lower()
 file_name = file_name.lower()
 if ('apk' in file_name):
  return 'apk'
 elif ('zip' in file_type):
  return 'apk'
 else:
  return 'apk'

def choose_package ( file_type , file_name ) : if ( not file_type ) : return None file_type = file_type . lower ( ) file_name = file_name . lower ( ) if ( 'apk' in file_name ) : return 'apk' elif ( 'zip' in file_type ) : return 'apk' else : return 'apk'
choose analysis package due to file type and file extension .