Skip to content

Commit

Permalink
[FIX] crash no path
Browse files Browse the repository at this point in the history
  • Loading branch information
ovnicraft committed Sep 6, 2018
1 parent b87867b commit 1bf5106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_home():
def get_path(path_file):
if sys.version_info[0] > 2:
from pathlib import Path
return Path().is_file()
return Path(path_file).is_file()
else:
import os
return os.path.isfile(path_file)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name='runa',
version='0.2.5',
version='0.2.6',
description="Librería para uso de WS del Bus Gubernamental de Ecuador",
long_description=readme + '\n\n' + history,
author="Cristian Salamea",
Expand Down

0 comments on commit 1bf5106

Please sign in to comment.