Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Add $LANG to the log for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-lazar committed Aug 13, 2018
1 parent 36b9353 commit d2d7225
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions rtv/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,11 @@ def main():
config.keymap.set_bindings(bindings)

if config['copy_config']:
copy_default_config()
return
return copy_default_config()
if config['copy_mailcap']:
copy_default_mailcap()
return

return copy_default_mailcap()
if config['list_themes']:
Theme.print_themes()
return
return Theme.print_themes()

# Load the browsing history from previous sessions
config.load_history()
Expand Down Expand Up @@ -121,6 +117,7 @@ def main():
env = [
('$DISPLAY', os.getenv('DISPLAY')),
('$TERM', os.getenv('TERM')),
('$LANG', os.getenv('LANG')),
('$XDG_CONFIG_HOME', os.getenv('XDG_CONFIG_HOME')),
('$XDG_DATA_HOME', os.getenv('$XDG_DATA_HOME')),
('$RTV_EDITOR', os.getenv('RTV_EDITOR')),
Expand Down

0 comments on commit d2d7225

Please sign in to comment.