From 39d24e56c30e9924997e80cfdd707dcf4b61b30a Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Mon, 28 Nov 2022 16:16:39 -0500 Subject: [PATCH] Remove vestigial `touch()` --- fhost.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fhost.py b/fhost.py index 469669a..07b2437 100755 --- a/fhost.py +++ b/fhost.py @@ -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)