Skip to content

Commit

Permalink
modified print() statement to work with Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
abeusher committed Aug 7, 2019
1 parent e4691d1 commit ec0a4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timehash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,4 @@ def encode_from_datetime(datetime_object, precision=10):
#example of using timehash with a native datetime object
dt_rightnow = datetime.datetime.now()
sample_dt_hash = encode_from_datetime(dt_rightnow)
print sample_dt_hash
print(sample_dt_hash)

0 comments on commit ec0a4aa

Please sign in to comment.