Skip to content

Commit

Permalink
feat: Remove unnecessary print statements in custdl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xAmarnath committed May 4, 2024
1 parent ddd27c5 commit 78606f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/custdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ async def file_server():
async def handle(request):
path = request.match_info.get('path', '')
if os.path.isfile(path):
print(f"File requested: {os.path.join('./downloads', path)}")
return web.FileResponse(os.path.join(os.getcwd(), "downloads", path))
else:
print(f"File not found: {os.path.join(os.getcwd(), "downloads", path)}")
return web.FileResponse(os.path.join(os.getcwd(), "downloads", path))

app = web.Application()
Expand Down

0 comments on commit 78606f2

Please sign in to comment.