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

'chrome' is used prior to global declaration #2

Open
LorenzoBaracchi opened this issue Jan 7, 2017 · 1 comment
Open

'chrome' is used prior to global declaration #2

LorenzoBaracchi opened this issue Jan 7, 2017 · 1 comment

Comments

@LorenzoBaracchi
Copy link

Hi,

On a fresh installation of Apricity-OS (and fresher update) when trying to open ice I got this error:

File "ice", line 540 global chrome SyntaxError: name 'chrome' is used prior to global declaration

@iPublicis
Copy link

iPublicis commented Jan 14, 2017

Just change the line 540 on /usr/bin/ice from chrome.set_active(True) to firefox.set_active(True)

[A]s of Python 3.6 this will cease to be a SyntaxWarning and instead be updated to an error (SyntaxError). So you better fix it now or face it the prospect of it not executing in future versions (>= 3.6) .

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

No branches or pull requests

2 participants