Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Commit a1c502b

Browse files
committed
Merge branch 'release/0.3.0' into develop
2 parents 3688311 + a4b7466 commit a1c502b

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ A Linux terminal recorder written in Python which renders your command
55
line sessions as standalone SVG animations.
66

77
<p align="center">
8-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/awesome.svg">
8+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/awesome.svg">
99
</p>
1010

11-
More examples of recordings [here](https://github.com/nbedos/termtosvg/blob/0.2.2/examples/examples.md)
11+
More examples of recordings [here](https://github.com/nbedos/termtosvg/blob/0.3.0/examples/examples.md)
1212

1313
## Motivation
1414
I really like the clean look of SVG animations and I also wanted to see
@@ -90,7 +90,7 @@ font = DejaVu Sans Mono
9090
theme = solarized-dark
9191
```
9292
These options can be overriden at the command line with the `--font` and
93-
`--theme' flags.
93+
`--theme` flags.
9494

9595
#### Color themes
9696
All other sections of the file define color themes. For example here's

examples/examples.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# Examples
22
## awesome.svg
33
<p align="center">
4-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/awesome.svg">
4+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/awesome.svg">
55
</p>
66

77
## colors.svg
88
<p align="center">
9-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/colors.svg">
9+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/colors.svg">
1010
</p>
1111

1212
## ipython.svg
1313
<p align="center">
14-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/ipython.svg">
14+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/ipython.svg">
1515
</p>
1616

1717
## htop.svg
1818
<p align="center">
19-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/htop.svg">
19+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/htop.svg">
2020
</p>
2121

2222
## unittest.svg
2323
<p align="center">
24-
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.2.2/examples/unittest.svg">
24+
<img src="https://cdn.rawgit.com/nbedos/termtosvg/0.3.0/examples/unittest.svg">
2525
</p>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='termtosvg',
7-
version='0.2.2',
7+
version='0.3.0',
88
description='Record terminal sessions as SVG animations',
99
long_description='A Linux terminal recorder written in Python '
1010
'which renders your command line sessions as '

termtosvg/__main__.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,18 @@ def main(args=None, input_fileno=None, output_fileno=None):
108108
if output_fileno is None:
109109
output_fileno = sys.stdout.fileno()
110110

111-
configuration = config.init_read_conf()
112-
available_themes = config.CaseInsensitiveDict(**configuration)
113-
del available_themes['global']
114-
115-
command, args = parse(args[1:], available_themes)
116-
117-
logger.setLevel(logging.INFO)
118-
119111
console_handler = logging.StreamHandler(sys.stderr)
120112
console_handler.setLevel(logging.INFO)
121113
console_formatter = logging.Formatter('%(message)s')
122114
console_handler.setFormatter(console_formatter)
123115
logger.handlers = [console_handler]
116+
logger.setLevel(logging.INFO)
117+
118+
configuration = config.init_read_conf()
119+
available_themes = config.CaseInsensitiveDict(**configuration)
120+
del available_themes['global']
121+
122+
command, args = parse(args[1:], available_themes)
124123

125124
if args.verbose:
126125
file_handler = logging.FileHandler(filename=LOG_FILENAME, mode='w')

0 commit comments

Comments
 (0)