X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=mudpy%2Fdata.py;h=8b7e731510a8db0def01f2c81e73d0c39bc683f7;hb=9d92e6288e8e14a7213912b6480e33a72392af07;hp=2e22c7e0e2581e6c0350f6328aa3da7044e41c64;hpb=0580d77ecba37ac032dde3e3d8d7b054ccc7fd74;p=mudpy.git diff --git a/mudpy/data.py b/mudpy/data.py index 2e22c7e..8b7e731 100644 --- a/mudpy/data.py +++ b/mudpy/data.py @@ -144,7 +144,7 @@ class DataFile: for candidate in os.listdir(os.path.dirname(self.filename)): if re.match( os.path.basename(self.filename) + - """\.\d+$""", candidate + r"""\.\d+$""", candidate ): backups.append(int(candidate.split(".")[-1])) backups.sort()