Skip to content

Commit

Permalink
Fixed error regarding function name
Browse files Browse the repository at this point in the history
  • Loading branch information
NecRaul committed May 29, 2024
1 parent 3ea0691 commit 2aa56eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lain_upload/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .upload import parse_file
from .upload import upload_file
import argparse
import pyperclip

Expand All @@ -8,7 +8,7 @@ def main():
parser.add_argument("path", help="File path")

args = parser.parse_args()
response = parse_file(args.path)
response = upload_file(args.path)

if response:
url = response["files"][0]["url"]
Expand Down

0 comments on commit 2aa56eb

Please sign in to comment.