Commit 5aedc2f Frak
committed
1 parent 0346aeb commit 5aedc2f Copy full SHA for 5aedc2f
File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,11 @@ $pip3 install netifaces‑0.10.6‑cp36‑cp36m‑win_amd64.whl
35
35
```
36
36
37
37
### 2022 Update
38
- Newer versions of Python appear to break this. To use python 3.6.5 again, I had to use something like this using pyenv
38
+ Newer versions of Python appear to break this. To use python 3.6.5 again, I had to use ` pyenv ` like this:
39
39
40
40
``` bash
41
41
brew install pyenv
42
+ pyenv install 3.6.5
42
43
pyenv local 3.6.5
43
44
~ /.pyenv/shims/pip3 install --upgrade pip
44
45
~ /.pyenv/shims/pip3 install appJar lifxlan colour configobj numpy mss scipy pillow
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ def abs_resource_path(relative_path):
58
58
59
59
elif (myos == 'Darwin' ) or (myos == 'Linux' ) :
60
60
""" Get absolute path to resource, works for dev and for PyInstaller """
61
- base_path = os .path .dirname (os .path .abspath (__file__ ))
62
- return os .path .join (base_path , relative_path )
61
+ # base_path = os.path.dirname(os.path.abspath(__file__))
62
+ return os .path .join (os . getenv ( "HOME" ) , relative_path )
63
63
64
64
65
65
def resource_path (relative_path ):
@@ -1558,7 +1558,7 @@ def function_name():
1558
1558
#print("type(config['bulbs']):",type(config['bulbs']))
1559
1559
if os .path .exists (PICKLE ):
1560
1560
bulbPickle = pkl .load (open (PICKLE , "rb" )) #this reads the pickle
1561
- # print (bulbPickle)
1561
+ print ("bulbPickle: " , bulbPickle )
1562
1562
bulbList .clear ()
1563
1563
bulbList .append ("-Select Bulb-" )
1564
1564
bulbList .append ("Select All Bulbs In LAN" )
You can’t perform that action at this time.
0 commit comments