Commit c9740098 authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

check if file exists

parent 58b3bfbd
......@@ -75,8 +75,9 @@ def eggnog(identifier):
def gzip(input_file):
command = "gzip " + input_file
os.system(command)
if os.path.isfile(input_file):
command = "gzip " + input_file
os.system(command)
def command(command):
print(command)
......
Markdown is supported
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