Bore Fe ginu po sluqa ego p tides tileti ABSTRACT. We study modular transformation properties of a class of indefinite theta series involved in characters of infinite-dimensional Lie superalgebras. The level-ℓ Appell functions K ℓ satisfy open quasiperiodicity relations with additive theta-function terms emerging in translating by the "period." Generalizing the well-known interpretation of theta functions as sections of line bundles, the K ℓ function enters the construction of a section of a rank-(ℓ + 1) bundle V ℓ,τ . We evaluate modular transformations of the K ℓ functions and construct the action of an SL(2, Z) subgroup that leaves the section of V ℓ,τ constructed from K ℓ invariant.Modular transformation properties of K ℓ are applied to the affine Lie superalgebra sℓ(2|1) at rational level k > −1 and to the N = 2 super-Virasoro algebra, to derive modular transformations of "admissible" characters, which are not periodic under the spectral flow and cannot therefore be rationally expressed through theta functions. This gives an example where constructing a modular group action involves extensions among representations in a nonrational conformal model.