Public bug reported:

```
Traceback (most recent call last):
  File "/usr/bin/prime-select", line 458, in <module>
    switcher.enable_profile(arg)
  File "/usr/bin/prime-select", line 223, in enable_profile
    if not self._has_integrated_gpu():
  File "/usr/bin/prime-select", line 198, in _has_integrated_gpu
    if t.find('8086') != -1 or t.lower().find('1002') != -1:
UnboundLocalError: local variable 't' referenced before assignment
```

at file `prime-select`, line 198

https://git.launchpad.net/ubuntu/+source/nvidia-prime/tree/prime-
select#n198

that `t` should be `vendor` I think. :)

** Affects: nvidia-prime (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1948362

Title:
  UnboundLocalError: local variable 't' referenced before assignment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1948362/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to