Specified error type
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-04-03 10:57:29 +03:00
parent 00b1287ef3
commit a2beaed8b0
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ def cleanup(msg):
msg = msg.replace(unwanted, '') msg = msg.replace(unwanted, '')
return msg return msg
except: except TypeError:
return msg return msg

View File

@@ -24,7 +24,7 @@ message = ''
for i in range(5): for i in range(5):
try: try:
message = message + text_model.make_sentence() message = message + text_model.make_sentence()
except: except TypeError:
pass pass
if (dry_run): if (dry_run):