Closed thundergreen closed 7 years ago
(python) pi@home-assistant:~/uploadr $ ./uploadr.py -h File "./uploadr.py", line 37 print self.short(get_url) ^ SyntaxError: invalid syntax
I installed accordiung to your short tutorial and get this error. I activad venv but get this error. Do you have a hint for me?
# Upload File try: get_url = self['xep_0363'].upload_file(self.filename) if self.shorten_url: print self.short(get_url) else: print get_url except IqError as err:
Solved by installing pythin 2.7 env
(python) pi@home-assistant:~/uploadr $ ./uploadr.py -h File "./uploadr.py", line 37 print self.short(get_url) ^ SyntaxError: invalid syntax
I installed accordiung to your short tutorial and get this error. I activad venv but get this error. Do you have a hint for me?