Skip to content

Commit

Permalink
identify GUI script (#44) now conforms to style of #45, #46
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnmjones committed Sep 9, 2021
1 parent dd1ce95 commit 985a128
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions hypercane-gui/scripts/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
from hypercane.version import __useragent__
from hypercane.actions import get_logger, calculate_loglevel


identify_functions = {
"mementos": hypercane.actions.identify.discover_mementos,
"timemaps": hypercane.actions.identify.discover_timemaps,
"original-resources": hypercane.actions.identify.discover_original_resources
}

if __name__ == '__main__':

for item in identify_parser._subparsers._group_actions:
Expand Down Expand Up @@ -55,5 +48,5 @@
hypercane.errors.errorstore.type = hypercane.errors.FileErrorStore(args.errorfilename)

print("starting to identify {} in input".format(args.which))
identify_functions[args.which](args)
args.exec(args)
print("done identifying {}".format(args.which))

0 comments on commit 985a128

Please sign in to comment.