kalanakt / All-Url-Uploader

A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)
https://urluploader.vercel.app
MIT License
383 stars 950 forks source link

AttributeError: type object 'Config' has no attribute 'DOWNLOAD_LOCATION' #9

Closed irabro1992 closed 2 years ago

irabro1992 commented 2 years ago

any idea with this error ? please

root@ubuntu-8gb-hel1-1:~/All-Url-Uploader# python3 bot.py Traceback (most recent call last): File "bot.py", line 26, in if not os.path.isdir(Config.DOWNLOAD_LOCATION): AttributeError: type object 'Config' has no attribute 'DOWNLOAD_LOCATION'

kalanakt commented 2 years ago

leave DOWNLOAD_LOCATION in reveal config vars or change it to ./DOWNLOADS

irabro1992 commented 2 years ago

leave DOWNLOAD_LOCATION in reveal config vars or change it to ./DOWNLOADS

1

this is how i set in sample_config. do i need to do some changes ?

do i need to make changes in bot.py too ?

kalanakt commented 2 years ago

try now :)

irabro1992 commented 2 years ago

try now :)

2

hi , deleted the previous cloned repo and recloned the repo. still the same error.

3