diff options
author | msglm <msglm@techchud.xyz> | 2023-01-11 20:51:08 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-01-11 20:51:08 -0600 |
commit | 01b3fad35d505a31c1eb50c700cc9bdbbd47db91 (patch) | |
tree | 67a7dd6e1c2eed1025b2f5efaeae21a4bb37f7cc | |
parent | 6c542eb4bddd96297419b8593c823056aff6b3a8 (diff) | |
download | comedyGenerator-01b3fad35d505a31c1eb50c700cc9bdbbd47db91.tar.gz comedyGenerator-01b3fad35d505a31c1eb50c700cc9bdbbd47db91.tar.bz2 comedyGenerator-01b3fad35d505a31c1eb50c700cc9bdbbd47db91.zip |
removing error due to logging
-rwxr-xr-x | comedyGenerator | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comedyGenerator b/comedyGenerator index 0d05108..65986d5 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -252,7 +252,8 @@ for tags in args.tags: if args.verbose: print("Writing " + logName + " to log file") logFile.write(logName + "\n") -logFile.close() +if logging: + logFile.close() #This program is free software: you can redistribute it and/or modify #it under the terms of the GNU Affero General Public License version 3 as published by |