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
486aa7be
Commit
486aa7be
authored
Aug 12, 2017
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show error when launching column mode in Windows
Related to issue #194.
parent
05a1a68d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
topydo/ui/UILoader.py
topydo/ui/UILoader.py
+8
-1
No files found.
topydo/ui/UILoader.py
View file @
486aa7be
...
...
@@ -22,8 +22,10 @@ import sys
from
topydo.ui.cli.CLI
import
CLIApplication
from
topydo.ui.CLIApplicationBase
import
MAIN_OPTS
,
MAIN_LONG_OPTS
,
error
_WINDOWS
=
"win32"
in
sys
.
platform
# enable color on windows CMD
if
"win32"
in
sys
.
platform
:
if
_WINDOWS
:
import
colorama
colorama
.
init
()
...
...
@@ -51,6 +53,11 @@ def main():
UIApplication
().
run
()
except
ImportError
:
error
(
"Some additional dependencies for column mode were not installed, please install with 'pip3 install topydo[columns]'"
)
except
NameError
as
err
:
if
_WINDOWS
:
error
(
"Column mode is not supported on Windows."
)
else
:
error
(
"Could not load column mode: {}"
.
format
(
err
))
else
:
CLIApplication
().
run
()
except
IndexError
:
...
...
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