title: Compile python to cython (local variable 'webdriver' referenced before assignment)
body: <p>I'm compiling python to cython in mac os and get this error</p>
  <pre><code>warning: tag.py:404:4: Unreachable code
  
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
               print(event)
       window.close()
       print('logging to account')
       sleep(randint(2, 3))
       chromedriver_path = './chromedriver'
       webdriver = webdriver.Chrome(executable_path=chromedriver_path)
                  ^
  ------------------------------------------------------------
  
  tag.py:153:17: local variable 'webdriver' referenced before assignment
  </code></pre>
  <p>I think the error belongs to these lines</p>
  <pre><code>chromedriver_path = './chromedriver'
  webdriver = webdriver.Chrome(executable_path=chromedriver_path)
  webdriver.minimize_window()
  </code></pre>