Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples.rst #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mia-mia-w
Copy link

No description provided.

@mia-mia-w
Copy link
Author

So, I followed the tutorial (https://scaper.readthedocs.io/en/latest/examples.html#examples), but it gives me the following error: AttributeError: 'Scaper' object has no attribute 'reset_bg_spec'.
So I changed sc.reset_bg_spec() and sc.reset_fg_spec() to sc.reset_bg_event_spec() and sc.reset_fg_event_spec(), the script is running without problem.

@Kovalt0
Copy link

Kovalt0 commented Mar 30, 2022

So, I followed the tutorial (https://scaper.readthedocs.io/en/latest/examples.html#examples), but it gives me the following error: AttributeError: 'Scaper' object has no attribute 'reset_bg_spec'. So I changed sc.reset_bg_spec() and sc.reset_fg_spec() to sc.reset_bg_event_spec() and sc.reset_fg_event_spec(), the script is running without problem.

@mia-mia-w thanks for this. I was wondering why it didn't work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants