philippnormann / nvidia-sniper

🎯 Autonomously buy Nvidia Founders Edition GPUs as soon as they become available.
394 stars 99 forks source link

SyntaxError: invalid syntax #84

Closed 21796114 closed 4 years ago

21796114 commented 4 years ago

Hello there . Me again. I uploaded the main.py file you updated 1 hour ago. I am getting the following error:

Traceback (most recent call last): File "c: \ users \ pc \ appdata \ local \ programs \ python \ python38 \ lib \ runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details (mod_name, _Error) File "c: \ users \ pc \ appdata \ local \ programs \ python \ python38 \ lib \ runpy.py", line 144, in _get_module_details return _get_module_details (pkg_main_name, error) File "c: \ users \ pc \ appdata \ local \ programs \ python \ python38 \ lib \ runpy.py", line 155, in _get_module_details code = loader.get_code (mod_name) File "", line 916, in get_code File "", line 846, in source_to_code File "", line 219, in _call_with_frames_removed File "C: \ nvidia-sniper \ sniper \ main.py", line 6 <! DOCTYPE html> ^ SyntaxError: invalid syntax

What should I do ?

philippnormann commented 4 years ago

It seems like you modified the code in sniper/__ main__.py. You can reset local changes using git stash and try again. Please visit our Discord support channel, if you still need help :tipping_hand_man:

21796114 commented 4 years ago

Fixed. Thanks.