Skip to content

Commit c409ffd

Browse files
committed
v 1.0.1
* Fix bug with opening files in Linux * Fix pommel 2 and 3 length
1 parent c3af569 commit c409ffd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lightsaber.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from manifest import MANIFEST
66
from name import NAMES
77

8-
IMAGE_PATH = "../images"
8+
IMAGE_PATH = os.path.join(os.path.dirname(__file__), '../images')
99
BLADE_PATH = "{}/blades".format(IMAGE_PATH)
1010
HILT_PATH = "{}/hilts".format(IMAGE_PATH)
1111
BUTTON_PATH = "{}/buttons".format(IMAGE_PATH)

src/manifest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118
"length": 5,
119119
},
120120
"p2": {
121-
"length": 3,
121+
"length": 14,
122122
},
123123
"p3": {
124-
"length": 14,
124+
"length": 3,
125125
},
126126
"p4": {
127127
"length": 8,

0 commit comments

Comments
 (0)