import Tool
import time
from Tieba import Tieba


def main():
    print("Local Time:", time.asctime(time.localtime()))
    # Read Cookies
    cookies = Tool.load_cookies_path(".")
    for cookie in cookies:
       # Login
        user = Tieba(cookie)
        # List Likes
        print(user.get_likes())
        # Sign
        print(user.username, "Signing")
        for name in user.get_likes():
            if user.sign_Wap(name):
                time.sleep(10)

main()

import Tool
import time
from Tieba import Tieba


def main():
    print("Local Time:", time.asctime(time.localtime()))
    # Read Cookies
    cookies = Tool.load_cookies_path(".")
    for cookie in cookies:
       # Login
        user = Tieba(cookie)
        # List Likes
        print(user.get_likes())
        # Sign
        print(user.username, "Signing")
        for name in user.get_likes():
            if user.sign_Wap(name):
                time.sleep(10)

main()

Change newline character to LF
Change newline character to LF

- import Tool
+ import Tool
- import time
+ import time
- from Tieba import Tieba
+ from Tieba import Tieba
- 
- 
- def main():
-     print("Local Time:", time.asctime(time.localtime()))
-     # Read Cookies
-     cookies = Tool.load_cookies_path(".")
-     for cookie in cookies:
-        # Login
-         user = Tieba(cookie)
-         # List Likes
-         print(user.get_likes())
-         # Sign
-         print(user.username, "Signing")
-         for name in user.get_likes():
-             if user.sign_Wap(name):
-                 time.sleep(10)
- 
- main()
  
+ 
+ def main():
+     print("Local Time:", time.asctime(time.localtime()))
+     # Read Cookies
+     cookies = Tool.load_cookies_path(".")
+     for cookie in cookies:
+        # Login
+         user = Tieba(cookie)
+         # List Likes
+         print(user.get_likes())
+         # Sign
+         print(user.username, "Signing")
+         for name in user.get_likes():
+             if user.sign_Wap(name):
+                 time.sleep(10)
+ 
+ main()
+ 
Change newline character to LF
## Code Before:
import Tool
import time
from Tieba import Tieba


def main():
    print("Local Time:", time.asctime(time.localtime()))
    # Read Cookies
    cookies = Tool.load_cookies_path(".")
    for cookie in cookies:
       # Login
        user = Tieba(cookie)
        # List Likes
        print(user.get_likes())
        # Sign
        print(user.username, "Signing")
        for name in user.get_likes():
            if user.sign_Wap(name):
                time.sleep(10)

main()

## Instruction:
Change newline character to LF
## Code After:
import Tool
import time
from Tieba import Tieba


def main():
    print("Local Time:", time.asctime(time.localtime()))
    # Read Cookies
    cookies = Tool.load_cookies_path(".")
    for cookie in cookies:
       # Login
        user = Tieba(cookie)
        # List Likes
        print(user.get_likes())
        # Sign
        print(user.username, "Signing")
        for name in user.get_likes():
            if user.sign_Wap(name):
                time.sleep(10)

main()
