Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaisham committed Nov 19, 2020
1 parent 15291c0 commit 2da5545
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ qrshare --help
```bash
Usage: __main__.py [OPTIONS] PATHS...

Options:
-p, --passcode TEXT when provided every device require authentication
Options:****
-p, --password TEXT when provided every device require authentication
--port INTEGER waitress server port
--help Show this message and exit.
```
Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

paths = [
Path(r'C:\Users\User\Documents\Projects\Web\share\index.html'),
Path(r'C:\Users\User\Documents\Projects\Web\share'),
Path(r'C:\Users\User\Documents\Projects'),
# Path(r'C:\Users\User\Documents'),
# Path(r'C:\Users\User'),
]
Expand Down
2 changes: 1 addition & 1 deletion qrshare/models/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def general_path(self, quoted=True, clean=False):
if self.parent is None:
parent_route = '' if clean else '/path'
else:
parent_route = self.parent.general_path(quoted, clean)
parent_route = self.parent.general_path(False, clean)

path = f'{parent_route}/{self.path.name}'
return quote(path) if quoted else path
Expand Down

0 comments on commit 2da5545

Please sign in to comment.