diff options
author | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
commit | ffa55abfe573b6a9c69fdbbb9b5c6224afddddab (patch) | |
tree | 67a7dd6e1c2eed1025b2f5efaeae21a4bb37f7cc | |
parent | e64217a06784809b49405d865f2f25776da1ec46 (diff) | |
download | comedyGenerator-ffa55abfe573b6a9c69fdbbb9b5c6224afddddab.tar.gz comedyGenerator-ffa55abfe573b6a9c69fdbbb9b5c6224afddddab.tar.bz2 comedyGenerator-ffa55abfe573b6a9c69fdbbb9b5c6224afddddab.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 |