Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
1. fix --regex argument list type bug
2. thanks to @Ovi3 [https://github.com/Ovi3]
  • Loading branch information
LandGrey committed Oct 9, 2020
1 parent 260f6e3 commit 2f26ba5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pydictor

[![build](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://www.github.com/landgrey/pydictor) [![Python 2.7&3.4](https://img.shields.io/badge/python-2.7&3.4-yellow.svg)](https://www.python.org/) ![release](https://img.shields.io/badge/version-2.1.5.1-orange.svg) ![License](https://img.shields.io/badge/license-GPLv3-red.svg)
[![build](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://www.github.com/landgrey/pydictor) [![Python 2.7&3.4](https://img.shields.io/badge/python-2.7&3.4-yellow.svg)](https://www.python.org/) ![release](https://img.shields.io/badge/version-2.1.5.2-orange.svg) ![License](https://img.shields.io/badge/license-GPLv3-red.svg)


**README.md [中文版](README_CN.md)**
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pydictor
[![build](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://www.github.com/landgrey/pydictor) [![Python 2.7&3.4](https://img.shields.io/badge/python-2.7&3.4-yellow.svg)](https://www.python.org/) ![release](https://img.shields.io/badge/version-2.1.5.1-orange.svg) ![License](https://img.shields.io/badge/license-GPLv3-red.svg)
[![build](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://www.github.com/landgrey/pydictor) [![Python 2.7&3.4](https://img.shields.io/badge/python-2.7&3.4-yellow.svg)](https://www.python.org/) ![release](https://img.shields.io/badge/version-2.1.5.2-orange.svg) ![License](https://img.shields.io/badge/license-GPLv3-red.svg)

**README.md [English](README.md)**

Expand Down
2 changes: 1 addition & 1 deletion lib/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def init_pystrs():
# start time
pystrs.startime = time.time()

pystrs.version = '2.1.5.1#dev'
pystrs.version = '2.1.5.2#dev'

# build configuration file element description
pystrs.conf_head = "head"
Expand Down
2 changes: 1 addition & 1 deletion lib/parse/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def parse_args():
help=cool.yellow('''Default: letter "%s" digital "%s" special "%s"''' %
(pyoptions.letter_repeat, pyoptions.digital_repeat, pyoptions.special_repeat)))

parser.add_argument('--regex', dest='regex', metavar='regex', nargs=1, type=str,
parser.add_argument('--regex', dest='regex', metavar='regex', type=str,
default=pyoptions.filter_regex, help=cool.yellow('''Filter by regex, Default: (%s)''' %
pyoptions.filter_regex))

Expand Down

0 comments on commit 2f26ba5

Please sign in to comment.