Browse Source

Fix inconsistent usage of tabs and spaces in indentation

mario forzanini 2 years ago
parent
commit
aa1146e29b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lcmlog-server

+ 2 - 2
lcmlog-server

@@ -69,7 +69,7 @@ def main():
 			if kind != "150" and kind != "Admin":	# We only have this two log types
 				raise KindError
 			if method == "POST":
-				optional_line = input()
+                                optional_line = input()
                                 auth(user_id, "POST", kind) # Check if the user can post for the requested kind
                                 log = sys.stdin.read()      # Read the log content
                                 if optional_line == "MAIL":
@@ -80,7 +80,7 @@ def main():
                                         # a recognized header, so it's
                                         # the first line of the log
                                         log = optional_line + log
-				method_post(kind, user_name, date, tags, log, send_mail)
+                                method_post(kind, user_name, date, tags, log, send_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