Python Forum
I need help finding an error in this code I have - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: I need help finding an error in this code I have (/thread-11607.html)



I need help finding an error in this code I have - Tacnoblode - Jul-18-2018

Hello! Recently I have been modifying the source of Toontown: Stride to make my own modifications. I have used a file called Suit.PY. With my most recent modification, I tried to use a file path command shown in a tutorial I was watching to modify the code to change Toontown cog heads. When I try and start after the modifications, it says there is a syntax error at the closing quotes.
filepath'phase_12/models/bossbotHQ/mole_cog'
^
I have no clue why its classified as an invalid syntax, could somebody help with fixing it? Here is the code that I was using.

if headType == "downsizer" and self.style.body == 'a':
    filepath = 'phase_4/models/char/suitB-heads'
elif headtype == 'mole_cog':
    filepath 'phase_12/models/bossbotHQ/mole_cog'
else:



RE: I need help finding an error in this code I have - buran - Jul-18-2018

missing = on line #4