Skip to content

Commit

Permalink
copy defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Mar 2, 2020
1 parent 433ee13 commit 97938a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rich/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Theme:

def __init__(self, styles: Dict[str, Style] = None, inherit: bool = True):
if inherit:
self.styles = DEFAULT_STYLES
self.styles = DEFAULT_STYLES.copy()
else:
self.styles = {}
if styles is not None:
Expand Down

0 comments on commit 97938a4

Please sign in to comment.