Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- the_year = None
- current_year = datetime.datetime.now( ).year
- if the_year <= current_year:
- self.year = the_year
- else:
- self.year = current_year
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement