souravrs999 / FaucetCryptoBot

A bot for FaucetCrypto a cryptocurrency faucet. The bot can currently claim PTC ads, main reward and all the shortlinks except exe.io and fc.lc.
MIT License
124 stars 51 forks source link

Can you help me #1

Closed Maro9898 closed 3 years ago

Maro9898 commented 3 years ago

can you help me

Maro9898 commented 3 years ago

Traceback (most recent call last):  File "C:\Users\user\Desktop\FaucetCryptoBot\bot.py", line 1, in from FaucetCryptoBot import FaucetCryptoBot  File "C:\Users\user\Desktop\FaucetCryptoBot\FaucetCryptoBot__init__.py", line 1, in from .fcbot import FaucetCryptoBot  File "C:\Users\user\Desktop\FaucetCryptoBot\FaucetCryptoBot\fcbot.py", line 7, in from .config import *  File "C:\Users\user\Desktop\FaucetCryptoBot\FaucetCryptoBot\config.py", line 2  USER_DATA_DIR = C:\Users\user\Desktop\FaucetCryptoBot/data"  ^ SyntaxError: invalid syntax 

souravrs999 commented 3 years ago

The issue is caused by the path windows might not recognise the forward slash try changing the path to something like below

Example: "C:\\Users\\user\\Desktop\\FaucetCryptoBot\\data"; "user-data-dir=C:\\Users\\myusername\\Desktop\\User Data"

Escape characters should be added to the path string. Also try not to change anything within the class insted change it inside the config file that way you can fix it if something gets messed up.

Maro9898 commented 3 years ago

ok

    Dnia 4 lutego 2021 13:13 Sourav R S <notifications@github.com> napisał(a):

The issue is caused by the path windows might not recognise the forward slash try changing the path to something like below Example:
"C:\Users\user\Desktop\Fau "user-data-dir=C:\Users\myus Data" Escape characters should be added to the path string

— You are receiving this because you authored the thread. Reply to this email directly, github.com view it on GitHub , or github.com unsubscribe .