Skip to content

Commit

Permalink
Import tweak. Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
brenthuisman committed May 25, 2018
1 parent da9b53c commit d5fa532
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Or run directly with:

$ python par2deep

Alternatively, if you have installed the `cx_Freeze` package, you can generate an msi package for Windows. Adapt `setup_cx.py` to suit your needs (include the `par2` executable and, most importantly, the icon of your choice) and then build the `.msi` file in `/dist`:

$ python setup_cx.py bdist_msi

## Usage

After installation, run with `par2deep` for the GUI or `par2deep-cli` if you live in the terminal. Command line options may be enumerated by using the --help option. Note that `-q` will update, fix or recreate parity files as it sees fit. If unrepairable damage is found, it will recreate parity data.
Expand Down
5 changes: 4 additions & 1 deletion par2deep/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ def topbar_frame(self,stage):


def start_options_frame(self,chosen_dir=None):
self.p2d = par2deep.par2deep(chosen_dir)
try:
self.p2d = par2deep.par2deep(chosen_dir)
except TypeError:
self.p2d = par2deep.par2deep.par2deep(chosen_dir)

self.args = {}

Expand Down

0 comments on commit d5fa532

Please sign in to comment.