Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to python3 #4

Merged
merged 1 commit into from Jan 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion activity.py
Expand Up @@ -70,7 +70,7 @@ def get_documents_path(self):
if os.path.exists(documents_path) and \
os.environ.get('HOME') != documents_path:
return documents_path
except OSError, exception:
except OSError as exception:
if exception.errno != errno.ENOENT:
logging.exception('Could not run xdg-user-dir')
return None
2 changes: 1 addition & 1 deletion activity/activity.info
Expand Up @@ -6,6 +6,6 @@ license = GPLv2+
url = http://www.tuxpaint.org/
tags = Art
icon = activity-icon
exec = sugar-activity activity.TuxPaintLauncher
exec = sugar-activity3 activity.TuxPaintLauncher
activity_version = 7
bundle_id = org.tuxpaint