Skip to content

Commit b42dfb4

Browse files
committedJun 8, 2015
Fix a bug trying to find a theme file when theme is blank
1 parent 8366aa1 commit b42dfb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎package_control/package_io.py

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def read_package_file(package, relative_path, binary=False):
2525

2626

2727
def package_file_exists(package, relative_path):
28+
if relative_path is None:
29+
return False
30+
2831
package_dir = _get_package_dir(package)
2932

3033
if os.path.exists(package_dir):

0 commit comments

Comments
 (0)
Please sign in to comment.