kupiakos / LapisMirror

Mirrors images from various sites, and exports them to mirrors like imgur. Plugin-based.
MIT License
19 stars 6 forks source link

Invalid syntax on line 140? #24

Closed Shugabuga closed 8 years ago

Shugabuga commented 8 years ago

Getting this error when running lapis.py from Terminal:

File "lapis.py", line 140
    def call_plugin_function(self, func_name: str, *args, **kwargs) -> list:
                                            ^
SyntaxError: invalid syntax

Using the latest version of LapisMirror.

spiral6 commented 8 years ago

I've had this happen before when checking it for PEP 8 guidelines. Never when running it. Unsure why this issue exists. Message me on reddit /u/spiral6 and I'll see if I can help out.

Shugabuga commented 8 years ago

Got it. Will continue there.

Edit: Sent as /u/HeyItsShuga.

kupiakos commented 8 years ago

Are you using Python 3?

Shugabuga commented 8 years ago

Now I am, and that fixed it!