Skip to content

Commit 9fea1bf

Browse files
committed
Remove another fstring to keep python 2.7 compatibility
1 parent 3fcf576 commit 9fea1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectral/io/spyfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def load(self, **kwargs):
196196
for k in list(kwargs.keys()):
197197
if k not in ('dtype', 'scale'):
198198
raise ValueError('Invalid keyword %s.' % str(k))
199-
ctypes = [np.dtype(f'complex{b}').name for b in (64, 128, 256)]
199+
ctypes = [np.dtype('complex{}'.format(b)).name for b in (64, 128, 256)]
200200
if 'dtype' in kwargs:
201201
dtype = kwargs['dtype']
202202
elif np.dtype(self.dtype).name in ctypes:

0 commit comments

Comments
 (0)