Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoberg committed Apr 1, 2022
1 parent 1b881aa commit 89bd90f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup
setup(
name='VATspy DATE to JSON converter',
version='0.0.1',
version='0.2.0',
entry_points={
'console_scripts': [
'vatspy_dat_converter=vatspy_dat_converter:run'
Expand Down
6 changes: 2 additions & 4 deletions vatspy_dat_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def download_vatspy_data():
if current_version == latest_version:
print("No new version available") # No new version available
else:
print("New version available! \n Version: {} \n Published at: {}".format(release_tag, asset["published_at"])) # New version available
print("New version available! \n Version: {} \n Published at: {}".format(release_tag, asset[
"published_at"])) # New version available

user_accept = input("Download new version? (y/n) ")
if user_accept == "y":
Expand All @@ -79,8 +80,6 @@ def download_vatspy_data():
print("tag_name:", asset["tag_name"])
print("d:", d)



download_url = d["url"]
if verbose:
print("download_url:", download_url)
Expand All @@ -97,7 +96,6 @@ def download_vatspy_data():
return Exception



def vatspy_dat_to_json():
"""
Converts the DAT file to JSON
Expand Down

0 comments on commit 89bd90f

Please sign in to comment.