Commit 3dd3d3d0 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

fix ticket #12


git-svn-id: https://svn.forked.de/graph-tool/trunk@77 d4600afd-f417-0410-95de-beed9576f240
parent f2e6fc68
......@@ -974,7 +974,10 @@ try:
if file_name != None:
prefix = str(count)
if variables.has_key("prefix"):
prefix = str(variables["prefix"])
if variables["prefix"] == None:
prefix = None
else:
prefix = str(variables["prefix"])
hist_key = opt.name + opt.value
if not history_files.has_key(hist_key):
history_files[hist_key] = HistoryFile(file_name, overwrite_history)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment