Skip to content

Commit

Permalink
Reposition import. (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
DailyDreaming committed Nov 5, 2019
1 parent fd70455 commit b7d557e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hca/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import logging
import os

import tqdm
from tweak import Config as _Config


Expand Down Expand Up @@ -37,6 +36,7 @@ class ProgressBarStreamHandler(object):
"""
@staticmethod
def write(msg):
import tqdm # imported here to avoid unnecessary dependency breaks
tqdm.tqdm.write(msg, end='')


Expand Down

0 comments on commit b7d557e

Please sign in to comment.