remove debug messages
This commit is contained in:
parent
1e8eaea393
commit
72b5295cd9
1 changed files with 5 additions and 4 deletions
9
reise.py
9
reise.py
|
@ -52,7 +52,7 @@ def readFormFileDirectoriesFromConfig():
|
|||
"in config file reading.")
|
||||
return formdir
|
||||
except FileNotFoundError:
|
||||
print("Debug: no config file found.")
|
||||
print("No config file found.")
|
||||
return None
|
||||
|
||||
|
||||
|
@ -104,7 +104,8 @@ def copyFile(copyfile, where):
|
|||
copy + ". Use another place.")
|
||||
raise pe
|
||||
else:
|
||||
print("Debug: copied the file " + copy)
|
||||
pass
|
||||
# print("Debug: copied the file " + copy)
|
||||
|
||||
|
||||
def mkdir(where):
|
||||
|
@ -114,7 +115,7 @@ def mkdir(where):
|
|||
PermissionsError: if not allowed.
|
||||
|
||||
"""
|
||||
print("Debug: directory:", where)
|
||||
# print("Debug: directory:", where)
|
||||
try:
|
||||
os.makedirs(where)
|
||||
except FileExistsError:
|
||||
|
@ -138,7 +139,7 @@ if __name__ == "__main__":
|
|||
"to the file " + CONFIGFILE + ".")
|
||||
else:
|
||||
tocopy = filesToCopy(formdirectory)
|
||||
print("Debug:", tocopy)
|
||||
# print("Debug:", tocopy)
|
||||
mkdir(directory)
|
||||
for copy in tocopy:
|
||||
copyFile(copy, directory)
|
||||
|
|
Loading…
Reference in a new issue