def history_add(paths):
 state = _open_state()
 if (HISTORY_KEY not in state):
  state[HISTORY_KEY] = set()
 state[HISTORY_KEY].add(tuple(paths))
 _save_state(state)

def history_add ( paths ) : state = _open_state ( ) if ( HISTORY_KEY not in state ) : state [ HISTORY_KEY ] = set ( ) state [ HISTORY_KEY ] . add ( tuple ( paths ) ) _save_state ( state )
indicate that the import of the album in paths is completed and should not be repeated in incremental imports .