fut icon indicating copy to clipboard operation
fut copied to clipboard

Error

Open AlPitchou opened this issue 7 years ago • 3 comments

Hello,

I get below error from today, do you also get it ?


Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import fut Traceback (most recent call last): File "", line 1, in File "fut/init.py", line 34, in from .core import Core File "fut/core.py", line 995 yield results SyntaxError: 'return' with argument inside generator

AlPitchou avatar Dec 03 '17 19:12 AlPitchou

Change fut/core.py", line 995 from yield results to return results can temporarily fix this issue

sfai05 avatar Dec 04 '17 04:12 sfai05

Thx ! it works

AlPitchou avatar Dec 04 '17 19:12 AlPitchou

@sfai05

You probably don't need this method at all but making this change breaks logic here - searchAll won't return all results, just first page. Fix for this is planned for stable release.

oczkers avatar Dec 04 '17 19:12 oczkers