|
@@ -72,7 +72,7 @@ def main():
|
|
|
send_mail = input()
|
|
|
auth(user_id, "POST", kind) # Check if the user can post for the requested kind
|
|
|
log = sys.stdin.read() # Read the log content
|
|
|
- method_post(kind, user_name, date, tags, log, send_mail == "Yes")
|
|
|
+ method_post(kind, user_name, date, tags, log, send_mail == "MAIL")
|
|
|
elif method == "GET":
|
|
|
auth(user_id, "GET", kind) # Check if the user can get logs for the requested kind
|
|
|
user_to_find = input() # Read the user name of the log writer to search
|