wallpaper: Fix urllib import error.

This commit is contained in:
Dylan Araps 2017-08-14 09:01:50 +10:00
parent 611a276d8d
commit 9750559266

View File

@ -2,7 +2,7 @@
import os import os
import shutil import shutil
import subprocess import subprocess
import urllib import urllib.parse
from .settings import CACHE_DIR, HOME, OS from .settings import CACHE_DIR, HOME, OS
from . import util from . import util
@ -111,6 +111,7 @@ def change(img):
set_wm_wallpaper(img) set_wm_wallpaper(img)
print("wallpaper: Set the new wallpaper.") print("wallpaper: Set the new wallpaper.")
print(urllib.parse.quote(img))
def get(cache_dir=CACHE_DIR): def get(cache_dir=CACHE_DIR):