Skip to content

Commit

Permalink
Bumped version, wrapped main
Browse files Browse the repository at this point in the history
  • Loading branch information
venthur committed Feb 17, 2018
1 parent bdb6980 commit dd26f2d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.6.1] - 2018-02-17

* Include Changelog and LICENSE files in source distribution
* Wrapped main script in proper main test

## [1.6.0] - 2018-01-21

* Fixed unicode error in Python3 during pdf renaming
Expand Down
2 changes: 1 addition & 1 deletion gscholar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from gscholar.gscholar import *

__VERSION__ = '1.6.0'
__VERSION__ = '1.6.1'
4 changes: 3 additions & 1 deletion gscholar/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
level=logging.WARNING
)


def main():
usage = 'Usage: %prog [options] {pdf | "search terms"}'
parser = optparse.OptionParser(usage)
Expand Down Expand Up @@ -75,6 +76,7 @@ def main():
gs.rename_file(args, biblist[0])


main()
if __name__ == '__main__':
main()

# vim: set filetype=python

0 comments on commit dd26f2d

Please sign in to comment.