Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
8ebabd43
Commit
8ebabd43
authored
May 30, 2015
by
Jacek Sowiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand '~' sign to correct path value in `add -f`
parent
2627b952
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
topydo/commands/AddCommand.py
topydo/commands/AddCommand.py
+2
-1
No files found.
topydo/commands/AddCommand.py
View file @
8ebabd43
...
@@ -20,6 +20,7 @@ from datetime import date
...
@@ -20,6 +20,7 @@ from datetime import date
import
re
import
re
from
sys
import
stdin
from
sys
import
stdin
import
codecs
import
codecs
from
os.path
import
expanduser
from
topydo.lib.Config
import
config
from
topydo.lib.Config
import
config
from
topydo.lib.Command
import
Command
from
topydo.lib.Command
import
Command
...
@@ -43,7 +44,7 @@ class AddCommand(Command):
...
@@ -43,7 +44,7 @@ class AddCommand(Command):
for
opt
,
value
in
opts
:
for
opt
,
value
in
opts
:
if
opt
==
'-f'
:
if
opt
==
'-f'
:
self
.
from_file
=
value
self
.
from_file
=
expanduser
(
value
)
self
.
args
=
args
self
.
args
=
args
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment