aboutsummaryrefslogtreecommitdiff
path: root/app/tasks/importtasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/tasks/importtasks.py')
-rw-r--r--app/tasks/importtasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py
index 61b60d9..ced48a9 100644
--- a/app/tasks/importtasks.py
+++ b/app/tasks/importtasks.py
@@ -247,7 +247,7 @@ def importRepoScreenshot(id):
try:
filename = randomString(10) + ".png"
- imagePath = os.path.join(app.config["UPLOAD_FOLDER"], filename)
+ imagePath = os.path.join("public/uploads", filename)
print(imagePath)
urllib.request.urlretrieve(urlmaker.getScreenshotURL(), imagePath)