Voldrix / onlyfans-dl-2

OnlyFans content downloader v2
GNU General Public License v3.0
148 stars 24 forks source link

x variable issue #107

Closed Charango4554 closed 7 months ago

Charango4554 commented 7 months ago

Issue: The variable x was used without being declared in the context of the script, which could cause an error during execution.

Solution: Replaced the use of the x variable with the latestDate variable in the line defining MAX_AGE. The most recent date among the existing files is directly used to calculate MAX_AGE. This ensures that there is no undefined variable

Voldrix commented 7 months ago

I guess I missed a remnant from my test code. Nice catch, thanks.