Skip to content

Commit fec0e88

Browse files
committed
with_stem added in python 3.9
1 parent 402d1c3 commit fec0e88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SatsDecoder/systems/usp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ def re_fname(self, fname, t):
14871487
t = self.last_date
14881488
self.last_fname = fname
14891489
x = pathlib.Path(fname)
1490-
return str(x.with_stem(x.stem + '_' + self.strftime(t)))
1490+
return str(x.with_name(x.stem + '_' + self.strftime(t) + x.suffix))
14911491
return fname
14921492

14931493
def generate_fid(self, fname='', force=0, t=None):

0 commit comments

Comments
 (0)