YodaEmbedding / Stylish-Google-Drive-Dark

Dark userstyle for Google Drive for Stylish
https://userstyles.org/styles/105045/google-drive-dark
GNU General Public License v3.0
25 stars 12 forks source link

Syntax error while running build.py #12

Open SirFireball3521 opened 4 years ago

SirFireball3521 commented 4 years ago

OS: Debian stretch "VM" (crostini on chromebook) Shell: zsh

Python3 is in latest version provided by apt (3.5.3-1)

Error:

    File "build.py", line 35
        print(f'Building on {datetime.datetime.now()}...')
                                                        ^
SyntaxError: invalid syntax
YodaEmbedding commented 4 years ago

That's not the latest stable version of python (3.8). Also, f-strings were released in 3.6.

Since you're on an older version of python, you can do this instead:

print('Building on {}...'.format(datetime.datetime.now()))