Olivia5k / doge

wow very terminal doge

Home Page:https://pypi.python.org/pypi/doge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyntaxError: invalid syntax with Python 3.2.5

tcort opened this issue · comments

I get the following error when I attempt to run doge with Python 3.2.5. I'm using a fresh clone, commit fa4c46c

Traceback (most recent call last):
  File "bin/doge", line 14, in <module>
    from doge import core
  File "doge/core.py", line 285
    msg = u'{0} {1}'.format(random.choice(wow.PREFIXES), self.word)
                   ^
SyntaxError: invalid syntax

I'll be honest, I don't really have any idea why that would happen. Does it still occur if you remove the u prefix from the string definition?

This error was also fixed by setting my locale to en_US.UTF-8.

Haha, computers; they'll be the death of me.
Well, glad it works anyway. :) 🐕

We need a doge emoji