aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx/picmi.py')
-rw-r--r--Python/pywarpx/picmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index d73e954ef..012811c0b 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -1003,7 +1003,7 @@ class ParticleDiagnostic(picmistandard.PICMI_ParticleDiagnostic):
if np.iterable(self.species):
species_list = self.species
else:
- species_list = [species]
+ species_list = [self.species]
if self.mangle_dict is None:
# Only do this once so that the same variables are used in this distribution