diff options
author | nfnty <git@nfnty.se> | 2017-01-26 06:19:40 +0100 |
---|---|---|
committer | nfnty <git@nfnty.se> | 2017-01-26 06:20:18 +0100 |
commit | f1c99cb6d6cc7b8f8eff4e9e6c799468c07d2f33 (patch) | |
tree | 623549c1494af991e99647b5ba37c098e23e6222 | |
parent | c78ee48d36bac7fe76ae500ed3aa3f5e20a9f74b (diff) | |
download | ranger-f1c99cb6d6cc7b8f8eff4e9e6c799468c07d2f33.tar.gz |
core.fm: `loop()`: Remove useless `if` statement
-rw-r--r-- | ranger/core/fm.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py index 5ab3e5b2..3496f5c9 100644 --- a/ranger/core/fm.py +++ b/ranger/core/fm.py @@ -357,11 +357,10 @@ class FM(Actions, # pylint: disable=too-many-instance-attributes try: # pylint: disable=too-many-nested-blocks while True: loader.work() - if throbber: - if loader.has_work(): - throbber(loader.status) - else: - throbber(remove=True) + if loader.has_work(): + throbber(loader.status) + else: + throbber(remove=True) ui.redraw() |