mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-12-01 12:24:36 +01:00
wallpaper: Fix urllib import error.
This commit is contained in:
parent
611a276d8d
commit
9750559266
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user