jmausolf / poshmark_sharing

BSD 3-Clause "New" or "Revised" License
110 stars 58 forks source link

'poshmark_username' is not defined #20

Open radgnarr opened 5 years ago

radgnarr commented 5 years ago

Getting this error when running share_war.py

Traceback (most recent call last): File "share_war.py", line 267, in parser.add_argument("-a", "--account", default=poshmark_username, NameError: name 'poshmark_username' is not defined'

credentials.py has the correct username and password as followed in the ReadMe. The # are removed as well.

RollingFred commented 5 years ago

It works fine for me, so I'm sharing what I have if it helps:

The credentials are imported in share_war.py via line 7: from credentials import *

If you still have problem, you can modify share_war.py:

poshmark_username = "YourUsername" poshmark_password = "YourPassword"

That should work