Skip to content

Commit

Permalink
remove doubel asster
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Sep 26, 2019
1 parent 22071e2 commit f9ac122
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions physcraper/configobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ class ConfigObj(object):

def __init__(self, configfi, interactive=None):
# debug(configfi)
assert os.path.isfile(configfi)
if _DEBUG:
sys.stdout.write("Building config object\n")
assert os.path.isfile(configfi), "file `%s` does not exists" % configfi
assert os.path.isfile(configfi), "file `%s` does not exist" % configfi
config = configparser.ConfigParser()
config.read_file(open(configfi))

Expand Down

0 comments on commit f9ac122

Please sign in to comment.