Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
#17: remove unnecessary if..else
Browse files Browse the repository at this point in the history
  • Loading branch information
derrix060 committed Sep 28, 2018
1 parent 1c0f70b commit d91173c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions onedrived/od_pref.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,7 @@ def print_all_drives():
for i in context.all_accounts():
drive_objs = []
profile = context.get_account(i)
if profile.account_type == account_profile.AccountTypes.BUSINESS:
authenticator, drives = od_auth.get_authenticator_and_drives(context, i)
else:
authenticator, drives = od_auth.get_authenticator_and_drives(context, i)
authenticator, drives = od_auth.get_authenticator_and_drives(context, i)
for d in drives:
drive_objs.append(d)
if profile.account_type == account_profile.AccountTypes.BUSINESS:
Expand Down

0 comments on commit d91173c

Please sign in to comment.