print data only in verbose mode
This commit is contained in:
@@ -54,7 +54,7 @@ def data_load(file_name, verbose=False):
|
|||||||
object_data = pickle.load(input) # one load for every dump is needed to load all the data
|
object_data = pickle.load(input) # one load for every dump is needed to load all the data
|
||||||
if verbose:
|
if verbose:
|
||||||
print('found:')
|
print('found:')
|
||||||
print(object_data)
|
print(object_data)
|
||||||
except IOError:
|
except IOError:
|
||||||
object_data = None
|
object_data = None
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|||||||
Reference in New Issue
Block a user