Skip to content

Commit

Permalink
Update script.py
Browse files Browse the repository at this point in the history
Removing username from the script as it's not used anymore
  • Loading branch information
bilelmoussaoui committed Jun 9, 2015
1 parent 7ee4b34 commit 76ce9df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
script_folder = "scripts"
db_ext = ".txt"
userhome = os.path.expanduser("~")
if os.getuid() != 0:
username = pwd.getpwuid( os.getuid() )[ 0 ]
else:
username = os.getenv("SUDO_USER")
useros = platform.linux_distribution()
useros = useros[0].strip('"')
theme = Gtk.IconTheme.get_default()
Expand Down

0 comments on commit 76ce9df

Please sign in to comment.