Skip to content

Commit

Permalink
Fix get_copyright when year is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaiSoeborg authored Jan 14, 2020
1 parent 4236c20 commit ea03a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elf2deb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from pathlib import Path
from zipfile import ZipFile

__version__ = "1.2.0"
__version__ = "1.2.1"
TEMPLATE_DIR = "templates/"

def main():
Expand Down Expand Up @@ -79,7 +79,7 @@ def get_copyright(args):
exit(1)
license_txt = r.json()["body"]

year = args.license_year or datetime.now().year
year = args.license_year or str(datetime.now().year)
fullname = args.license_holder or args.author_name

# MIT
Expand Down

0 comments on commit ea03a41

Please sign in to comment.