Skip to content

Commit

Permalink
bug fix checking python version
Browse files Browse the repository at this point in the history
  • Loading branch information
gepd committed Oct 7, 2017
1 parent 4317773 commit 9415fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beginning/pio_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def check_python(self):
if(out[0] == 0):
self.version = sub(r'\D', '', out[1])

if(int(self.version[0]) is 3):
if(self.version and int(self.version[0]) is 3):
self.check_sym_link()

# show error and link to download
Expand Down

0 comments on commit 9415fa9

Please sign in to comment.