Jump to content

Error Object has no attribute 'gameWindow'


kaiquegames069
 Share

Recommended Posts

Alguém sabe como corrigir esse erro?

 

0927 17:35:08756 :: Traceback (most recent call last):

0927 17:35:08756 ::   File "ui.py", line 1134, in OnToggleDown

0927 17:35:08757 ::   File "switchbot.py", line 149, in Activate_rare

0927 17:35:08757 :: AttributeError
0927 17:35:08757 :: : 
0927 17:35:08757 :: 'int' object has no attribute 'gameWindow'
0927 17:35:08757 :: 

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
Guest Ezrekith

Hi.

Since the python file can't import the gameWindow you have to add an import line at the beginning of the file.

import ui, game

But if for some magicial reason it still does not fix your problem, please post the Activate_rare definition here, Thanks! :) 

Edited by Ezrekith
Link to comment
Share on other sites

  • 3 years later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...