Remove vestigial `touch()`

This commit is contained in:
Emi Simpson 2022-11-28 16:16:39 -05:00
parent d14713d077
commit 39d24e56c3
No known key found for this signature in database
GPG Key ID: 45E9C6E81BD86E7C
1 changed files with 0 additions and 2 deletions

View File

@ -246,8 +246,6 @@ class File(db.Model):
if not p.is_file():
with open(p, "wb") as of:
of.write(data)
else:
p.touch()
if not f.nsfw_score and app.config["NSFW_DETECT"]:
f.nsfw_score = nsfw.detect(p)