Skip to content

version flag in extractPage breaks entire executable #342

Description

@RoyRin

Running extractPage is broken:

extractPage "Person"
Traceback (most recent call last):
  ..../bin/extractPage", line 8, in <module>
    sys.exit(main())
  File "....wikiextractor/extractPage.py", line 110, in main
    version='%(prog)s ' + version,
NameError: name 'version' is not defined

Fix : remove line 111 from ExtractPage : https://github.com/attardi/wikiextractor/blob/master/wikiextractor/extractPage.py#L111

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions