Skip to content

Commit cc65bab

Browse files
committed
Version upgrade with backward compatibility
1 parent e936363 commit cc65bab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyaztro/aztro.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ def __init__(self, sign, day='today', timezone=None):
2222
base_url = 'https://aztro.sameerkumar.website'
2323
sign = str(sign).lower() if sign else sign
2424
day = str(day).lower() if day else day
25+
# Backward compatibility
26+
self.sign = sign
27+
self.day = day
2528
if sign not in signs:
2629
raise pyaztro.exceptions.PyAztroSignException('Invalid sign {0} passed'.format(sign), sign)
2730
if day not in days:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name='pyaztro',
21-
version='0.2',
21+
version='0.3',
2222
description='A client library for aztro - The Astrology API',
2323
long_description=open(readme_path).read(),
2424
url='https://github.com/sameerkumar18/pyaztro',

0 commit comments

Comments
 (0)