Permalink
Browse files

Further python3 ( issue #5 ) fix, fix octal syntax

  • Loading branch information...
simoncadman committed May 21, 2012
1 parent 916a09d commit e7ff8741f9912aeb69868a9b703686d9255cb48e
Showing with 1 addition and 1 deletion.
  1. +1 −1 setupcloudprint.py
View
@@ -34,7 +34,7 @@
configuration.set('Google', 'username', username)
configuration.set('Google', 'password', password)
configuration.save()
- os.chmod('/etc/cloudprint.conf', 0640)
+ os.chmod('/etc/cloudprint.conf', 0o640)
lpid = grp.getgrnam('lp').gr_gid
os.chown('/etc/cloudprint.conf', 0, lpid)
success = True

0 comments on commit e7ff874

Please sign in to comment.