Compare commits

..

No commits in common. "9ea0839ba86f67165b3ee3b2d47400b3181cdd0c" and "411d258cd7a4d11608aa7db335e19e5eca397042" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,7 @@ depends=(
)
makedepends=("git")
optdepends=("postgresql: database")
backup=("etc/${pkgname%-git}/config.toml")
backup=("etc/${pkgname%-git}.env")
source=(
"${pkgname}::git+https://git.edgarpierre.fr/edpibu/nummi"
"${pkgname%-git}.service"

View File

@ -146,9 +146,7 @@ class Snapshot(AccountModel):
)
def __str__(self):
return "{} {}".format(
_("%(date)s statement") % {"date": self.date}, self.account
)
return _("%(date)s statement") % {"date": self.date}
def save(self, *args, **kwargs):
if Snapshot.objects.filter(id=self.id).exists():