Skip to content
  • Christian Boltz's avatar
    extend add_or_remove_flag() to handle str for old flags · e80caa13
    Christian Boltz authored
    If the old flags are given as str (or None), call split_flags() to
    convert them to a list.
    
    This allows to simplify change_profile_flags() which now doesn't need to
    call split_flags() on its own.
    
    Also add some tests with a str for the old flags
    e80caa13