A-Metaphysical-Drama / LoL-Linux-Tools

A small tool to edit League of Legends files in linux
http://metaphysical.zz.mu/
GNU General Public License v2.0
36 stars 26 forks source link

Invalid Syntax when editing config #2

Closed laxman20 closed 11 years ago

laxman20 commented 11 years ago

Hi. I'm trying to edit the config file to point to my lol directory. This is what I get when I run the lol_linux.py

Traceback (most recent call last): File "lol_linux.py", line 27, in from config import * File "/home/laxman/LoL-Linux-Tools/config.py", line 21 lol_path = '/home/laxman/PlayOnLinux's virtual drives/LeagueOfLegends/drive_c/Riot Games' ^ SyntaxError: invalid syntax

I think I'm writing the path incorrectly because of the appostraphe, but I don't know how to do it correctly. Any help would be appreciated.

A-Metaphysical-Drama commented 11 years ago

It's pretty easy: just escape it with \ or use the double quotes instead:

lol_path = "/home/laxman/PlayOnLinux's virtual drives/LeagueOfLegends/drive_c/Riot Games"

Keep in mind you need to write the path to the directory containing the "RADS" dir