GNXSOFT.COM
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""Static files."""
|
||||
import os
|
||||
|
||||
|
||||
def get_file(*args):
|
||||
# type: (*str) -> str
|
||||
"""Get filename for static file."""
|
||||
return os.path.join(os.path.abspath(os.path.dirname(__file__)), *args)
|
||||
|
||||
|
||||
def logo():
|
||||
# type: () -> bytes
|
||||
"""Celery logo image."""
|
||||
return get_file('celery_128.png')
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
Reference in New Issue
Block a user